-
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
tests/emr: update to aws_s3_bucket_acl
#23048
Conversation
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 🚀.
% make testacc TESTARGS='-run=TestAccEMRCluster_\|TestAccEMRStudio_' PKG=emr
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/emr/... -v -count 1 -parallel 20 -run=TestAccEMRCluster_\|TestAccEMRStudio_ -timeout 180m
=== RUN TestAccEMRCluster_basic
=== PAUSE TestAccEMRCluster_basic
=== RUN TestAccEMRCluster_autoTerminationPolicy
=== PAUSE TestAccEMRCluster_autoTerminationPolicy
=== RUN TestAccEMRCluster_additionalInfo
=== PAUSE TestAccEMRCluster_additionalInfo
=== RUN TestAccEMRCluster_disappears
=== PAUSE TestAccEMRCluster_disappears
=== RUN TestAccEMRCluster_sJSON
=== PAUSE TestAccEMRCluster_sJSON
=== RUN TestAccEMRCluster_CoreInstanceGroup_autoScalingPolicy
=== PAUSE TestAccEMRCluster_CoreInstanceGroup_autoScalingPolicy
=== RUN TestAccEMRCluster_CoreInstanceGroup_bidPrice
=== PAUSE TestAccEMRCluster_CoreInstanceGroup_bidPrice
=== RUN TestAccEMRCluster_CoreInstanceGroup_instanceCount
=== PAUSE TestAccEMRCluster_CoreInstanceGroup_instanceCount
=== RUN TestAccEMRCluster_CoreInstanceGroup_instanceType
=== PAUSE TestAccEMRCluster_CoreInstanceGroup_instanceType
=== RUN TestAccEMRCluster_CoreInstanceGroup_name
=== PAUSE TestAccEMRCluster_CoreInstanceGroup_name
=== RUN TestAccEMRCluster_EC2Attributes_defaultManagedSecurityGroups
=== PAUSE TestAccEMRCluster_EC2Attributes_defaultManagedSecurityGroups
=== RUN TestAccEMRCluster_Kerberos_clusterDedicatedKdc
=== PAUSE TestAccEMRCluster_Kerberos_clusterDedicatedKdc
=== RUN TestAccEMRCluster_MasterInstanceGroup_bidPrice
=== PAUSE TestAccEMRCluster_MasterInstanceGroup_bidPrice
=== RUN TestAccEMRCluster_MasterInstanceGroup_instanceCount
=== PAUSE TestAccEMRCluster_MasterInstanceGroup_instanceCount
=== RUN TestAccEMRCluster_MasterInstanceGroup_instanceType
=== PAUSE TestAccEMRCluster_MasterInstanceGroup_instanceType
=== RUN TestAccEMRCluster_MasterInstanceGroup_name
=== PAUSE TestAccEMRCluster_MasterInstanceGroup_name
=== RUN TestAccEMRCluster_security
=== PAUSE TestAccEMRCluster_security
=== RUN TestAccEMRCluster_Step_basic
=== PAUSE TestAccEMRCluster_Step_basic
=== RUN TestAccEMRCluster_Step_mode
=== PAUSE TestAccEMRCluster_Step_mode
=== RUN TestAccEMRCluster_Step_multiple
=== PAUSE TestAccEMRCluster_Step_multiple
=== RUN TestAccEMRCluster_Bootstrap_ordering
=== PAUSE TestAccEMRCluster_Bootstrap_ordering
=== RUN TestAccEMRCluster_terminationProtected
=== PAUSE TestAccEMRCluster_terminationProtected
=== RUN TestAccEMRCluster_keepJob
=== PAUSE TestAccEMRCluster_keepJob
=== RUN TestAccEMRCluster_visibleToAllUsers
=== PAUSE TestAccEMRCluster_visibleToAllUsers
=== RUN TestAccEMRCluster_s3Logging
=== PAUSE TestAccEMRCluster_s3Logging
=== RUN TestAccEMRCluster_s3LogEncryption
=== PAUSE TestAccEMRCluster_s3LogEncryption
=== RUN TestAccEMRCluster_tags
=== PAUSE TestAccEMRCluster_tags
=== RUN TestAccEMRCluster_RootVolume_size
=== PAUSE TestAccEMRCluster_RootVolume_size
=== RUN TestAccEMRCluster_StepConcurrency_level
=== PAUSE TestAccEMRCluster_StepConcurrency_level
=== RUN TestAccEMRCluster_ebs
=== PAUSE TestAccEMRCluster_ebs
=== RUN TestAccEMRCluster_CustomAMI_id
=== PAUSE TestAccEMRCluster_CustomAMI_id
=== RUN TestAccEMRCluster_InstanceFleet_basic
=== PAUSE TestAccEMRCluster_InstanceFleet_basic
=== RUN TestAccEMRCluster_InstanceFleetMaster_only
=== PAUSE TestAccEMRCluster_InstanceFleetMaster_only
=== RUN TestAccEMRStudio_sso
=== PAUSE TestAccEMRStudio_sso
=== RUN TestAccEMRStudio_iam
=== PAUSE TestAccEMRStudio_iam
=== RUN TestAccEMRStudio_disappears
=== PAUSE TestAccEMRStudio_disappears
=== RUN TestAccEMRStudio_tags
=== PAUSE TestAccEMRStudio_tags
=== CONT TestAccEMRCluster_basic
=== CONT TestAccEMRCluster_Step_multiple
=== CONT TestAccEMRCluster_StepConcurrency_level
=== CONT TestAccEMRStudio_tags
=== CONT TestAccEMRStudio_disappears
=== CONT TestAccEMRStudio_iam
=== CONT TestAccEMRStudio_sso
=== CONT TestAccEMRCluster_InstanceFleetMaster_only
=== CONT TestAccEMRCluster_InstanceFleet_basic
=== CONT TestAccEMRCluster_CustomAMI_id
=== CONT TestAccEMRCluster_EC2Attributes_defaultManagedSecurityGroups
=== CONT TestAccEMRCluster_Step_mode
=== CONT TestAccEMRCluster_Step_basic
=== CONT TestAccEMRCluster_security
=== CONT TestAccEMRCluster_MasterInstanceGroup_name
=== CONT TestAccEMRCluster_ebs
=== CONT TestAccEMRCluster_MasterInstanceGroup_instanceType
=== CONT TestAccEMRCluster_s3Logging
=== CONT TestAccEMRCluster_MasterInstanceGroup_instanceCount
=== CONT TestAccEMRCluster_RootVolume_size
=== CONT TestAccEMRStudio_sso
acctest.go:974: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: error creating EMR Studio: InvalidRequestException: SSO is not enabled (Service: AWSEditors; Status Code: 400; Error Code: InvalidRequestException; Request ID: 15254889-9a76-4768-8396-eb158ae18ec4; Proxy: null)
{
RespMetadata: {
StatusCode: 400,
RequestID: "ffb913fa-7be2-4ffe-a963-a67ff66b19f9"
},
Message_: "SSO is not enabled (Service: AWSEditors; Status Code: 400; Error Code: InvalidRequestException; Request ID: 15254889-9a76-4768-8396-eb158ae18ec4; Proxy: null)"
}
with aws_emr_studio.test,
on terraform_plugin_test.tf line 78, in resource "aws_emr_studio" "test":
78: resource "aws_emr_studio" "test" {
=== CONT TestAccEMRStudio_tags
acctest.go:974: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: error creating EMR Studio: InvalidRequestException: SSO is not enabled (Service: AWSEditors; Status Code: 400; Error Code: InvalidRequestException; Request ID: 951b4daf-a62f-4f5a-8362-bfa47d7be16b; Proxy: null)
{
RespMetadata: {
StatusCode: 400,
RequestID: "f607fd25-3c35-4f22-8ccf-4a35194fb65e"
},
Message_: "SSO is not enabled (Service: AWSEditors; Status Code: 400; Error Code: InvalidRequestException; Request ID: 951b4daf-a62f-4f5a-8362-bfa47d7be16b; Proxy: null)"
}
with aws_emr_studio.test,
on terraform_plugin_test.tf line 78, in resource "aws_emr_studio" "test":
78: resource "aws_emr_studio" "test" {
=== CONT TestAccEMRStudio_disappears
acctest.go:974: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: error creating EMR Studio: InvalidRequestException: SSO is not enabled (Service: AWSEditors; Status Code: 400; Error Code: InvalidRequestException; Request ID: fc2378ac-e18e-45d1-b179-43f721f03543; Proxy: null)
{
RespMetadata: {
StatusCode: 400,
RequestID: "59a1c10a-d388-464b-82db-0c830266c7cc"
},
Message_: "SSO is not enabled (Service: AWSEditors; Status Code: 400; Error Code: InvalidRequestException; Request ID: fc2378ac-e18e-45d1-b179-43f721f03543; Proxy: null)"
}
with aws_emr_studio.test,
on terraform_plugin_test.tf line 78, in resource "aws_emr_studio" "test":
78: resource "aws_emr_studio" "test" {
--- SKIP: TestAccEMRStudio_sso (45.75s)
=== CONT TestAccEMRCluster_MasterInstanceGroup_bidPrice
--- SKIP: TestAccEMRStudio_tags (45.84s)
=== CONT TestAccEMRCluster_Kerberos_clusterDedicatedKdc
--- SKIP: TestAccEMRStudio_disappears (46.12s)
=== CONT TestAccEMRCluster_CoreInstanceGroup_autoScalingPolicy
--- PASS: TestAccEMRStudio_iam (60.67s)
=== CONT TestAccEMRCluster_tags
--- PASS: TestAccEMRCluster_Kerberos_clusterDedicatedKdc (412.89s)
=== CONT TestAccEMRCluster_CoreInstanceGroup_name
--- PASS: TestAccEMRCluster_basic (463.62s)
=== CONT TestAccEMRCluster_s3LogEncryption
--- PASS: TestAccEMRCluster_Step_basic (488.03s)
=== CONT TestAccEMRCluster_CoreInstanceGroup_instanceType
--- PASS: TestAccEMRCluster_security (500.30s)
=== CONT TestAccEMRCluster_disappears
--- PASS: TestAccEMRCluster_ebs (523.28s)
=== CONT TestAccEMRCluster_sJSON
--- PASS: TestAccEMRCluster_StepConcurrency_level (547.15s)
=== CONT TestAccEMRCluster_CoreInstanceGroup_bidPrice
--- PASS: TestAccEMRCluster_InstanceFleetMaster_only (576.02s)
=== CONT TestAccEMRCluster_keepJob
--- PASS: TestAccEMRCluster_CoreInstanceGroup_autoScalingPolicy (618.56s)
=== CONT TestAccEMRCluster_terminationProtected
--- PASS: TestAccEMRCluster_MasterInstanceGroup_instanceType (800.77s)
=== CONT TestAccEMRCluster_additionalInfo
--- PASS: TestAccEMRCluster_CustomAMI_id (893.28s)
=== CONT TestAccEMRCluster_Bootstrap_ordering
--- PASS: TestAccEMRCluster_Step_multiple (917.83s)
=== CONT TestAccEMRCluster_autoTerminationPolicy
--- PASS: TestAccEMRCluster_s3Logging (919.89s)
=== CONT TestAccEMRCluster_CoreInstanceGroup_instanceCount
--- PASS: TestAccEMRCluster_EC2Attributes_defaultManagedSecurityGroups (958.50s)
=== CONT TestAccEMRCluster_visibleToAllUsers
--- PASS: TestAccEMRCluster_sJSON (444.77s)
--- PASS: TestAccEMRCluster_MasterInstanceGroup_name (1024.53s)
--- PASS: TestAccEMRCluster_tags (967.33s)
--- PASS: TestAccEMRCluster_keepJob (458.83s)
--- PASS: TestAccEMRCluster_disappears (603.97s)
--- PASS: TestAccEMRCluster_RootVolume_size (1107.44s)
--- PASS: TestAccEMRCluster_Step_mode (1185.49s)
--- PASS: TestAccEMRCluster_InstanceFleet_basic (1218.68s)
--- PASS: TestAccEMRCluster_s3LogEncryption (758.45s)
--- PASS: TestAccEMRCluster_terminationProtected (597.13s)
--- PASS: TestAccEMRCluster_additionalInfo (477.91s)
--- PASS: TestAccEMRCluster_MasterInstanceGroup_instanceCount (1341.47s)
--- PASS: TestAccEMRCluster_CoreInstanceGroup_name (890.64s)
--- PASS: TestAccEMRCluster_CoreInstanceGroup_instanceType (899.14s)
--- PASS: TestAccEMRCluster_MasterInstanceGroup_bidPrice (1387.86s)
--- PASS: TestAccEMRCluster_CoreInstanceGroup_instanceCount (585.27s)
=== CONT TestAccEMRCluster_visibleToAllUsers
cluster_test.go:1144: Step 3/4 error: Check failed: Check 2/2 error: aws_emr_cluster.test: Attribute 'visible_to_all_users' expected "false", got "true"
--- PASS: TestAccEMRCluster_autoTerminationPolicy (721.64s)
--- FAIL: TestAccEMRCluster_visibleToAllUsers (687.42s)
--- PASS: TestAccEMRCluster_CoreInstanceGroup_bidPrice (1157.49s)
--- PASS: TestAccEMRCluster_Bootstrap_ordering (1282.00s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/emr 2179.045s
FAIL
make: *** [testacc] Error 1
This functionality has been released in v4.0.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
Relates #22997
Relates #22537
Relates #20433
Output from acceptance testing: