Skip to content
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

Support updating TLS subscriptions in pending state #524 #528

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

smaeda-ks
Copy link
Contributor

@smaeda-ks smaeda-ks added the enhancement New feature or request label Jan 17, 2022
@smaeda-ks smaeda-ks requested a review from Integralist January 17, 2022 17:18
@smaeda-ks smaeda-ks linked an issue Jan 17, 2022 that may be closed by this pull request
Comment on lines +54 to +55
// subscription is "updated" so the subscription ID should remain the same
resource.TestCheckResourceAttrPtr(resourceName, "id", &subscriptionId),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref. https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/helper/resource#TestCheckResourceAttrPtr
We can't use TestCheckResourceAttr here because then it's always an empty string (default value of string) and not reflecting the changes made in the previous step.

@smaeda-ks smaeda-ks merged commit 9e6fc93 into main Jan 18, 2022
@smaeda-ks smaeda-ks deleted the shohei-tls-subscription-pending branch January 18, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support updating TLS certs in pending state
2 participants