aws_codepipeline should not display oauth token in plaintext #8391
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/codepipeline
Issues and PRs that pertain to the codepipeline service.
Community Note
Terraform Version
Terraform v0.11.13
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The OAuthToken should not have been displayed in plaintext when planning or applying. Should have been similar to placing a secret string in parameter store.
stage.0.action.0.configuration.OAuthToken: <sensitive> => <sensitive>
OR
stage.0.action.0.configuration.OAuthToken: "" => <sensitive>
Actual Behavior
New OAuth token was displayed
stage.0.action.0.configuration.OAuthToken: "" => "OAuth2"
Steps to Reproduce
Setup a codepipeline that needs to source from a public or private github repo. Read in the OAuth token from somewhere (e.g. a SecretString from ssm paramter store)
terraform plan
orterraform apply
The text was updated successfully, but these errors were encountered: