-
Notifications
You must be signed in to change notification settings - Fork 14
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
Importing RuleSet
gives a warning
#710
Comments
Thanks for reporting this @zbuchheit. Are you setting these values in your Pulumi program?
A program that reproduces this warning would make debugging this a lot easier. |
Here is my repro and details from the diffs ReproRepro Program
Pulumi preview --diff after the importPulumi
|
Thanks for the repro @zbuchheit. |
yep! Let me know if I can help with anything else. |
I am getting the same error on a different provider: azapi:index:Resource (app-service-plan):
error: azapi:index/resource:Resource resource 'app-service-plan' has a problem: Invalid Configuration for Read-Only Attribute. Cannot set value for this attribute as the provider has marked it as read-only. Remove the configuration line setting the value.
Refer to the provider documentation or contact the provider developers for additional information about configurable and read-only attributes that are supported.. Examine values at 'app-service-plan.output'. |
What happened?
When attempting to import a RuleSet I encountered a warning about read-only fields.
Example
Output of
pulumi about
Additional context
It functionally is able to import the ruleSet but a subsequent up causes a diff on the rules to remove the unnecessary input read-only input fields. This could cause some confusion or worry in users not expecting a diff, and wanting to import a resource without changes.
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: