-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
New resources: aws_iot_thing_group
and aws_iot_thing_group_membership
#21799
New resources: aws_iot_thing_group
and aws_iot_thing_group_membership
#21799
Conversation
This reverts commit c4ebc41.
aws_iot_thing_group
and aws_iot_thing_group_member
aws_iot_thing_group
and aws_iot_thing_group_membership
162f871
to
5f7ab6c
Compare
Acceptance test output: % make testacc PKG_NAME=internal/service/iot TESTARGS='-run=TestAccIoTThingGroup_basic\|TestAccIoTThingGroup_disappears' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/iot/... -v -count 1 -parallel 20 -run=TestAccIoTThingGroup_basic\|TestAccIoTThingGroup_disappears -timeout 180m === RUN TestAccIoTThingGroup_basic === PAUSE TestAccIoTThingGroup_basic === RUN TestAccIoTThingGroup_disappears === PAUSE TestAccIoTThingGroup_disappears === CONT TestAccIoTThingGroup_basic === CONT TestAccIoTThingGroup_disappears --- PASS: TestAccIoTThingGroup_disappears (12.92s) --- PASS: TestAccIoTThingGroup_basic (17.35s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/iot 20.592s
Acceptance test output: % make testacc PKG_NAME=internal/service/iot TESTARGS='-run=TestAccIoTThingGroup_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/iot/... -v -count 1 -parallel 20 -run=TestAccIoTThingGroup_ -timeout 180m === RUN TestAccIoTThingGroup_basic === PAUSE TestAccIoTThingGroup_basic === RUN TestAccIoTThingGroup_disappears === PAUSE TestAccIoTThingGroup_disappears === RUN TestAccIoTThingGroup_tags === PAUSE TestAccIoTThingGroup_tags === RUN TestAccIoTThingGroup_parentGroup === PAUSE TestAccIoTThingGroup_parentGroup === RUN TestAccIoTThingGroup_properties === PAUSE TestAccIoTThingGroup_properties === CONT TestAccIoTThingGroup_basic === CONT TestAccIoTThingGroup_parentGroup === CONT TestAccIoTThingGroup_tags === CONT TestAccIoTThingGroup_disappears === CONT TestAccIoTThingGroup_properties --- PASS: TestAccIoTThingGroup_disappears (12.03s) --- PASS: TestAccIoTThingGroup_basic (16.63s) --- PASS: TestAccIoTThingGroup_parentGroup (22.57s) --- PASS: TestAccIoTThingGroup_properties (27.33s) --- PASS: TestAccIoTThingGroup_tags (37.49s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/iot 40.876s
% make sweep SWEEPARGS=-sweep-run=aws_iot_thing_group SWEEP=us-west-2,us-west-1,us-east-2,us-east-1 WARNING: This will destroy infrastructure. Use only in development accounts. go test ./internal/sweep -v -tags=sweep -sweep=us-west-2,us-west-1,us-east-2,us-east-1 -sweep-run=aws_iot_thing_group -timeout 60m 2021/11/18 12:33:56 [DEBUG] Running Sweepers for region (us-west-2): 2021/11/18 12:33:56 [DEBUG] Running Sweeper (aws_iot_policy_attachment) in region (us-west-2) 2021/11/18 12:33:56 [INFO] AWS Auth provider used: "EnvProvider" 2021/11/18 12:33:56 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:33:57 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-6195811425314339175 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-5646206226315228557-grandparent 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-8885168906862677607-grandparent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-4304961202836791216-parent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-4304961202836791216-grandparent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-5271273544858748970 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-1002360090986675451 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-2131691615459568451-parent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-3663987710321595284-grandparent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-8885676072754895414 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-1750511564291611981 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-3663987710321595284-parent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-4237496326368319094-grandparent 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-2131691615459568451-grandparent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-4237496326368319094-parent 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [DEBUG] Deleting IoT Thing Group: tf-acc-test-3339897176340297276 2021/11/18 12:33:58 [DEBUG] Waiting for state to become: [success] 2021/11/18 12:33:58 [TRACE] Waiting 500ms before next try 2021/11/18 12:33:58 [TRACE] Waiting 500ms before next try 2021/11/18 12:33:58 [TRACE] Waiting 500ms before next try 2021/11/18 12:33:58 [TRACE] Waiting 500ms before next try 2021/11/18 12:34:00 [DEBUG] Completed Sweeper (aws_iot_policy_attachment) in region (us-west-2) in 3.72332801s 2021/11/18 12:34:00 Completed Sweepers for region (us-west-2) in 3.723518398s 2021/11/18 12:34:00 Sweeper Tests for region (us-west-2) ran successfully: - aws_iot_policy_attachment 2021/11/18 12:34:00 [DEBUG] Running Sweepers for region (us-west-1): 2021/11/18 12:34:00 [DEBUG] Running Sweeper (aws_iot_policy_attachment) in region (us-west-1) 2021/11/18 12:34:00 [INFO] AWS Auth provider used: "EnvProvider" 2021/11/18 12:34:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:34:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:34:02 [DEBUG] Completed Sweeper (aws_iot_policy_attachment) in region (us-west-1) in 2.318537361s 2021/11/18 12:34:02 Completed Sweepers for region (us-west-1) in 2.318572572s 2021/11/18 12:34:02 Sweeper Tests for region (us-west-1) ran successfully: - aws_iot_policy_attachment 2021/11/18 12:34:02 [DEBUG] Running Sweepers for region (us-east-2): 2021/11/18 12:34:02 [DEBUG] Running Sweeper (aws_iot_policy_attachment) in region (us-east-2) 2021/11/18 12:34:02 [INFO] AWS Auth provider used: "EnvProvider" 2021/11/18 12:34:02 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:34:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:34:03 [DEBUG] Completed Sweeper (aws_iot_policy_attachment) in region (us-east-2) in 879.478468ms 2021/11/18 12:34:03 Completed Sweepers for region (us-east-2) in 879.504201ms 2021/11/18 12:34:03 Sweeper Tests for region (us-east-2) ran successfully: - aws_iot_policy_attachment 2021/11/18 12:34:03 [DEBUG] Running Sweepers for region (us-east-1): 2021/11/18 12:34:03 [DEBUG] Running Sweeper (aws_iot_policy_attachment) in region (us-east-1) 2021/11/18 12:34:03 [INFO] AWS Auth provider used: "EnvProvider" 2021/11/18 12:34:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:34:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity 2021/11/18 12:34:04 [DEBUG] Completed Sweeper (aws_iot_policy_attachment) in region (us-east-1) in 507.701903ms 2021/11/18 12:34:04 Completed Sweepers for region (us-east-1) in 507.729908ms 2021/11/18 12:34:04 Sweeper Tests for region (us-east-1) ran successfully: - aws_iot_policy_attachment ok github.com/hashicorp/terraform-provider-aws/internal/sweep 13.481s
This reverts commit 08b7fe6.
Acceptance test output: % make testacc PKG_NAME=internal/service/iot TESTARGS='-run=TestAccIoTThingGroupMembership_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/iot/... -v -count 1 -parallel 20 -run=TestAccIoTThingGroupMembership_ -timeout 180m === RUN TestAccIoTThingGroupMembership_basic === PAUSE TestAccIoTThingGroupMembership_basic === RUN TestAccIoTThingGroupMembership_disappears === PAUSE TestAccIoTThingGroupMembership_disappears === RUN TestAccIoTThingGroupMembership_disappears_Thing === PAUSE TestAccIoTThingGroupMembership_disappears_Thing === RUN TestAccIoTThingGroupMembership_disappears_ThingGroup === PAUSE TestAccIoTThingGroupMembership_disappears_ThingGroup === RUN TestAccIoTThingGroupMembership_overrideDynamicGroup === PAUSE TestAccIoTThingGroupMembership_overrideDynamicGroup === CONT TestAccIoTThingGroupMembership_basic === CONT TestAccIoTThingGroupMembership_disappears_ThingGroup === CONT TestAccIoTThingGroupMembership_disappears === CONT TestAccIoTThingGroupMembership_disappears_Thing === CONT TestAccIoTThingGroupMembership_overrideDynamicGroup --- PASS: TestAccIoTThingGroupMembership_disappears_ThingGroup (17.77s) --- PASS: TestAccIoTThingGroupMembership_disappears_Thing (18.04s) --- PASS: TestAccIoTThingGroupMembership_disappears (18.12s) --- PASS: TestAccIoTThingGroupMembership_basic (19.60s) --- PASS: TestAccIoTThingGroupMembership_overrideDynamicGroup (20.06s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/iot 23.479s
81a6c1d
to
d612967
Compare
This functionality has been released in v3.66.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 #8801.
Closes #10632.
Relates #16863.
Relates #10634.
Output from acceptance testing:
Commercial
GovCloud