Fix OAuth Token ID updates not registering #1631
Draft
+60
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Previously,
terraform apply
was required to run twice before theoauth_token_id
would be persisted in the state file even though theoauth_token_id
was updated as expected on the server after the first run ofterraform apply
. With this change, only a single run ofterraform apply
is necessary to persist the changes for theoauth_token_id
to the state file.Remember to:
Testing plan
oauth_token_id
.terraform plan
and verify no changes are required.oauth_token_id
.terraform plan
and verify that changes to thevcs_repo.oauth_token_id
are necessaryterraform apply
.terraform plan
and verify no changes are required.External links
Output from acceptance tests
Please run applicable acceptance tests locally and include the output here. See testing.md to learn how to run acceptance tests.
If you are an external contributor, your contribution(s) will first be reviewed before running them against the project's CI pipeline.