storage account NetworkRuleSetResponseArgs has no attribute #2061
Labels
awaiting-upstream
The issue cannot be resolved without action in another repository (may be owned by Pulumi).
kind/bug
Some behavior is incorrect or out of spec
resolution/duplicate
This issue is a duplicate of another issue
What happened?
When using
in storageaccount
we get the following error:
Steps to reproduce
requirements.txt
containsThe
__main__.py
containsExpected Behavior
Expect the storage account to be created.
Actual Behavior
This happens on
pulumi up
Output of
pulumi about
CLI
Version 3.45.0
Go Version go1.19.2
Go Compiler gc
Plugins
NAME VERSION
azure-native 1.84.0
python unknown
Host
OS darwin
Version 11.6.8
Arch x86_64
This project is written in python: executable='/Users/tusharshah/projects/pulumi-home/azure-py-storage-account-networkrulesetresponseargs/venv/bin/python3' version='3.10.8
'
Current Stack: dev
Found no resources associated with dev
Found no pending operations associated with dev
Backend
Name pulumi.com
URL https://app.pulumi.com/shaht
User shaht
Organizations shaht
Dependencies:
NAME VERSION
pip 22.3.0
pulumi-azure-native 1.84.0
setuptools 65.5.0
wheel 0.37.1
Additional context
Additional context
The workaround is to do the following with the storage account resource
Uncomment the
NetworkRuleSetArgs
and comment out:NetworkRuleSetResponseArgs
so that the two lines show the following:The code will work fine.
The documentation in storageaccount for create a nfsv3accountcreate shows to use:
storage.NetworkRuleSetResponseArgs
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: