-
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
F/aws ecs capacity provider #24005
F/aws ecs capacity provider #24005
Conversation
…r max_instance_lifetime is 86400
…orp#20701) As shown in hashicorp#20493 the documentation does not accurately reflect the current observed behaviour of this provider. The docs say that metadata_options.http_endpoint is optional, but the provider gives an error if http_endpoint is omitted.
# Conflicts: # aws/resource_aws_cloudformation_stack_set.go # aws/resource_aws_ebs_volume.go # aws/resource_aws_ebs_volume_test.go # aws/resource_aws_securityhub_member_test.go # website/docs/r/autoscaling_group.html.markdown
% make testacc TESTS=TestAccECSCapacityProvider_ PKG=ecs ACCTEST_PARALLELISM=1
==> Checking that code complies with gofmt requirements...
=== RUN TestAccECSCapacityProvider_basic
=== PAUSE TestAccECSCapacityProvider_basic
=== RUN TestAccECSCapacityProvider_disappears
=== PAUSE TestAccECSCapacityProvider_disappears
=== RUN TestAccECSCapacityProvider_managedScaling
=== PAUSE TestAccECSCapacityProvider_managedScaling
=== RUN TestAccECSCapacityProvider_managedScalingPartial
=== PAUSE TestAccECSCapacityProvider_managedScalingPartial
=== RUN TestAccECSCapacityProvider_tags
=== PAUSE TestAccECSCapacityProvider_tags
=== CONT TestAccECSCapacityProvider_basic
--- PASS: TestAccECSCapacityProvider_basic (88.30s)
=== CONT TestAccECSCapacityProvider_managedScalingPartial
capacity_provider_test.go:132: Step 1/2 error: Check failed: Check 5/9 error: aws_ecs_capacity_provider.test: Attribute 'auto_scaling_group_provider.0.managed_scaling.0.instance_warmup_period' expected "300", got "0"
--- FAIL: TestAccECSCapacityProvider_managedScalingPartial (52.00s)
=== CONT TestAccECSCapacityProvider_tags
--- PASS: TestAccECSCapacityProvider_tags (155.85s)
=== CONT TestAccECSCapacityProvider_managedScaling
--- PASS: TestAccECSCapacityProvider_managedScaling (130.84s)
=== CONT TestAccECSCapacityProvider_disappears
--- PASS: TestAccECSCapacityProvider_disappears (75.06s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/ecs 506.443s
FAIL
make: *** [testacc] Error 1 |
Because we cannot currently detect the different between an unspecified nested attribute value and its zero value, this would be a breaking change. |
Superseded by #31231. |
This functionality has been released in v5.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
Closes #24003.
Output from acceptance testing: