-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
provider: Introduce tag resource generator, new aws_dynamodb_tag and aws_ecs_tag resources #13783
Conversation
@DrFaust92 unfortunately Auto Scaling service tags differ from other services since they contain an extra |
@bflad, can you please rebase this? |
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.
I have a few comments, otherwise looks good. I'll complete the review once this PR has been rebased
5aabc58
to
2f777f6
Compare
Alrighty -- everything has been rebased and modernized. Latest output from acceptance testing:
|
@gdavison is there anything else that needs to be done? |
Not reviewing any specific details of this PR, more a general comment: |
…rorCheck in tests
… ensure errors are properly returned
…ation for Terraform Plugin SDK v2 Output from acceptance testing: ``` --- PASS: TestAccAWSDynamodbTag_basic (37.69s) --- PASS: TestAccAWSDynamodbTag_disappears (41.74s) --- PASS: TestAccAWSDynamodbTag_ResourceArn_TableReplica (259.64s) --- PASS: TestAccAWSDynamodbTag_Value (53.88s) --- PASS: TestAccAWSEc2Tag_basic (592.92s) --- PASS: TestAccAWSEc2Tag_disappears (576.53s) --- PASS: TestAccAWSEc2Tag_Value (714.84s) --- PASS: TestAccAWSEcsTag_basic (41.02s) --- PASS: TestAccAWSEcsTag_disappears (40.40s) --- PASS: TestAccAWSEcsTag_ResourceArn_BatchComputeEnvironment (54.92s) --- PASS: TestAccAWSEcsTag_Value (50.42s) ```
% make testacc TESTARGS='-run=TestAccAWSDynamodbTag_\|TestAccAWSEc2Tag_\|TestAccAWSEcsTag_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSDynamodbTag_\|TestAccAWSEc2Tag_\|TestAccAWSEcsTag_ -timeout 180m === RUN TestAccAWSDynamodbTag_basic === PAUSE TestAccAWSDynamodbTag_basic === RUN TestAccAWSDynamodbTag_disappears === PAUSE TestAccAWSDynamodbTag_disappears === RUN TestAccAWSDynamodbTag_ResourceArn_TableReplica === PAUSE TestAccAWSDynamodbTag_ResourceArn_TableReplica === RUN TestAccAWSDynamodbTag_Value === PAUSE TestAccAWSDynamodbTag_Value === RUN TestAccAWSEc2Tag_basic === PAUSE TestAccAWSEc2Tag_basic === RUN TestAccAWSEc2Tag_disappears === PAUSE TestAccAWSEc2Tag_disappears === RUN TestAccAWSEc2Tag_Value === PAUSE TestAccAWSEc2Tag_Value === RUN TestAccAWSEcsTag_basic === PAUSE TestAccAWSEcsTag_basic === RUN TestAccAWSEcsTag_disappears === PAUSE TestAccAWSEcsTag_disappears === RUN TestAccAWSEcsTag_ResourceArn_BatchComputeEnvironment === PAUSE TestAccAWSEcsTag_ResourceArn_BatchComputeEnvironment === RUN TestAccAWSEcsTag_Value === PAUSE TestAccAWSEcsTag_Value === CONT TestAccAWSDynamodbTag_basic === CONT TestAccAWSEc2Tag_Value === CONT TestAccAWSDynamodbTag_disappears === CONT TestAccAWSEcsTag_basic === CONT TestAccAWSDynamodbTag_Value === CONT TestAccAWSEc2Tag_disappears === CONT TestAccAWSEc2Tag_basic === CONT TestAccAWSEcsTag_ResourceArn_BatchComputeEnvironment === CONT TestAccAWSDynamodbTag_ResourceArn_TableReplica === CONT TestAccAWSEcsTag_Value === CONT TestAccAWSEcsTag_disappears --- PASS: TestAccAWSDynamodbTag_disappears (27.72s) --- PASS: TestAccAWSDynamodbTag_basic (30.17s) --- PASS: TestAccAWSEcsTag_disappears (30.37s) --- PASS: TestAccAWSEcsTag_basic (33.00s) --- PASS: TestAccAWSEcsTag_ResourceArn_BatchComputeEnvironment (40.65s) --- PASS: TestAccAWSEcsTag_Value (43.02s) --- PASS: TestAccAWSDynamodbTag_Value (47.20s) --- PASS: TestAccAWSDynamodbTag_ResourceArn_TableReplica (235.23s) --- PASS: TestAccAWSEc2Tag_disappears (587.96s) --- PASS: TestAccAWSEc2Tag_basic (642.95s) --- PASS: TestAccAWSEc2Tag_Value (723.77s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 727.053s
Acceptance test output: % make testacc TESTARGS='-run=TestAccAWSEc2Tag_basic' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEc2Tag_basic -timeout 180m === RUN TestAccAWSEc2Tag_basic === PAUSE TestAccAWSEc2Tag_basic === CONT TestAccAWSEc2Tag_basic --- PASS: TestAccAWSEc2Tag_basic (643.11s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 646.359s
245ae8c
to
49cc3e2
Compare
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.
LGTM 🚀.
This functionality has been released in v3.56.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #6859
Closes #9061
Closes #11951
Closes #13725
Release note for CHANGELOG:
Output from acceptance testing: