Closed clareliguori closed 2 years ago
Signed-off-by: Clare Liguori liguori@amazon.com
Related to https://github.com/crossplane/provider-aws/issues/1241, this updates the user agent that Terraform uses for AWS requests, so they can be disambiguated in CloudTrail from other Terraform requests that may use the same credentials/role.
I have:
make reviewable test
Created an ECR repo using the provider and got the following user agent in CloudTrail:
"userAgent": "APN/1.0 HashiCorp/1.0 Terraform/1.0.5 (+https://www.terraform.io) terraform-provider-aws/3.56.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.40.29 (go1.16; linux; amd64) crossplane-provider-jet-aws/v0.4.0-30.g2f6b907c.dirty"
Thanks @clareliguori! Glad this was more straightforward than I had feared. 😄
Signed-off-by: Clare Liguori liguori@amazon.com
Description of your changes
Related to https://github.com/crossplane/provider-aws/issues/1241, this updates the user agent that Terraform uses for AWS requests, so they can be disambiguated in CloudTrail from other Terraform requests that may use the same credentials/role.
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Created an ECR repo using the provider and got the following user agent in CloudTrail: