-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to marshal state to json: unsupported attribute "public_network_access" #215
Comments
(I'm back at work Monday, will try it then) |
So apologies work (as usual) takes over, but a few more things:
e.g today I got: ... yet it import ok.
|
@MrSimonC Much appreaciated for above detailed information, which is quite useful! The error is from the Meanwhile, the reason why current implementation of the code that converts from state to HCL will also show the state for unrelated resources is due to the |
@magodo Is it possible to specify azurerm provider version for aztfy? I have my existing plan at 3.20 and aztfy runs 3.46. This causes issues during import. Seems aztfy doesn't respect provider setting at all, is it possible to somehow force it to use 3.20 version? |
@Brysk If you are appending to ane existing workspace where you have the |
@magodo yes, I actually have a terraform block defined in my existing workspace:
For some reason it always uses the latest which is 3.46 and I'm not able to find a solution here EDIT:
|
@Brysk You are right, |
Fixed by #376 |
Hi everyone.
I'm trying to import a resource group "digitalplatform-dev" (which obviously exists) into azure-held storage account state with this command:
But I keep getting this error:
...and pointers? I can't see a reference to
public_network_access
anywhere on the resource group docs. The resource group I'm terraforming has resources inside it - but I'd like to think that's not connected.... Update - interestingly, although the prompt shows a hard stop / error, after inspecting the remote state in the azure storage account, it has updated / wrote remote state correctly! So it's more a warning than an error - so this issue is actually less severe now I've found remote state is written to fine.
The text was updated successfully, but these errors were encountered: