-
Notifications
You must be signed in to change notification settings - Fork 540
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
Update Azure Secrets resource #2101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small question about docs, but lgtm!
resource.Test(t, resource.TestCase{ | ||
ProviderFactories: providerFactories, | ||
PreCheck: func() { | ||
testutil.TestAccPreCheck(t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these run in CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I don't think so. I expect it to fail, due to tests being flaky due to the bug in Vault, where role_name gets set as role_id. Curious to know if you see the same thing locally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Zlaticanin and I noticed a flaky bug in the resource that sometimes results in a non-empty plan for this resource when azure_roles
are employed. With manual and automated testing, we ensured that this bug is unrelated to the changes made in this PR, and the features for sign_in_audiences
and tags
are written to Vault and the external Azure system as expected.
We will be scoping the work/ticket to investigate the existing bug in the resource as a follow-up PR. Going to approve this PR since the changes look good and work as expected 👍🏼 Thanks for working on this!
Updating Azure resource to include two new params
sign_in_audience
andtags