hashicorp/terraform-provider-aws (aws)
### [`v5.75.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5750-November-7-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.74.0...v5.75.0)
BREAKING CHANGES:
- resource/aws_api_gateway_stage: Add `canary_settings.deployment_id` attribute as `required` ([#39929](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39929))
NOTES:
- provider: validation of arguments implementing the custom `ARNType` will properly surface validation errors ([#40008](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40008))
- resource/aws_api_gateway_stage: `deployment_id` was added to `canary_settings` as a `required` attribute. This breaking change was necessary to make `canary_settings` functional. Without this change all canary traffic was routed to the main deployment ([#39929](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39929))
FEATURES:
- **New Data Source:** `aws_spot_datafeed_subscription` ([#39647](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39647))
ENHANCEMENTS:
- data-source/aws_batch_job_definition: Add `init_containers`, `share_process_namespace`, and `image_pull_secrets` attributes ([#40019](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40019))
- resource/aws_batch_job_definition: Add `init_containers` and `share_process_namespace` arguments ([#40019](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40019))
- resource/aws_batch_job_definition: Increase maximum number of `containers` arguments to 10 ([#40019](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40019))
- resource/aws_eks_addon: Add `pod_identity_association` argument ([#38357](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38357))
- resource/aws_iam_user_login_profile: Mark the `password` argument as sensitive ([#39991](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39991))
BUG FIXES:
- resource/aws_api_gateway_deployment: Fix destroy error when canary stage still exists on resource ([#39929](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39929))
- resource/aws_codedeploy_deployment_group: Remove maximum items limit on the `alarm_configuration.alarms` argument ([#39971](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39971))
- resource/aws_eks_addon: Handle `ResourceNotFound` exceptions during resource destruction ([#38357](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38357))
- resource/aws_elasticache_reserved_cache_node: Fix `Value Conversion Error` during resource creation ([#39945](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39945))
- resource/aws_lb_listener: Fix errors when updating the `tcp_idle_timeout_seconds` argument for gateway load balancers ([#40039](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40039))
- resource/aws_lb_listener: Remove the default `tcp_idle_timeout_seconds` value, preventing `ModifyListenerAttributes` API calls when a value is not explicitly configured ([#40039](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40039))
- resource/aws_vpc_ipam_pool: Fix bug when `public_ip_source = "amazon"`: `The request can only contain PubliclyAdvertisable if the AddressFamily is IPv6 and PublicIpSource is byoip.` ([#40042](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40042))
### [`v5.74.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5740-October-31-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.73.0...v5.74.0)
FEATURES:
- **New Data Source:** `aws_lb_listener_rule` ([#39865](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39865))
- **New Resource:** `aws_opensearch_authorize_vpc_endpoint_access` ([#39846](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39846))
- **New Resource:** `aws_ssmquicksetup_configuration_manager` ([#39931](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39931))
ENHANCEMENTS:
- data-source/aws_imagebuilder_distribution_configuration: Add `distribution.s3_export_configuration` attribute ([#35492](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35492))
- data-source/aws_imagebuilder_image_recipe: Fix `block_device_mapping.0.ebs.0.delete_on_termination: '' expected type 'bool', got unconvertible type 'string'` errors ([#39928](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39928))
- resource/aws_codedeploy_deployment_group: Add `termination_hook_enabled` argument ([#35482](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35482))
- resource/aws_eks_cluster: Add `zonal_shift_config` argument ([#39852](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39852))
- resource/aws_imagebuilder_distribution_configuration: Add `distribution.s3_export_configuration` argument ([#35492](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35492))
- resource/aws_imagebuilder_image_pipeline: Allow `container_recipe_arn` and `image_recipe_arn` to be updated in-place ([#39117](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39117))
- resource/aws_keyspaces_keyspace: Add `replication_specification` argument ([#36331](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36331))
- resource/aws_launch_template: Add `efa-only` as a valid value for `network_interfaces.interface_type` ([#39882](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39882))
- resource/aws_transfer_server: Add `TransferSecurityPolicy-Restricted-2024-06` as a valid value for `security_policy_name` ([#39871](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39871))
BUG FIXES:
- resource/aws_docdb_cluster: Use `master_password` on resource Create when `snapshot_identifier` is configured ([#38193](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38193))
- resource/aws_imagebuilder_container_recipe: Change `component.parameter.name`, `component.parameter.value`, `target_repository.repository_name`, and `target_repository.service` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#39117](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39117))
- resource/aws_route53\_record: Fix `interface conversion: interface {} is nil, not map[string]interface {}` panic when `geolocation_routing_policy` is empty ([#39944](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39944))
- resource/aws_ssm_patch_baseline: Update `approval_rule.approve_after_days` validation to allow a maximum value of `360` ([#39949](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39949))
- resource/aws_wafv2\_web_acl: Fix `decoding JSON: unexpected end of JSON input` errors when updating from using `rule_json` to using `rule` ([#39283](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39283))
- resource/aws_wafv2\_web_acl: Fix unmarshal error for incompatible types in `rule_json` ([#39878](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39878))
### [`v5.73.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5730-October-24-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.72.1...v5.73.0)
FEATURES:
- **New Data Source:** `aws_ssm_patch_baselines` ([#39779](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39779))
- **New Resource:** `aws_imagebuilder_lifecycle_policy` ([#35674](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35674))
- **New Resource:** `aws_resiliencehub_resiliency_policy` ([#38913](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38913))
- **New Resource:** `aws_sagemaker_hub` ([#39807](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39807))
- **New Resource:** `aws_sagemaker_mlflow_tracking_server` ([#39796](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39796))
ENHANCEMENTS:
- data-source/aws_elasticache_reserved_cache_node_offering: Support `valkey` as valid value for `product_description` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745))
- data-source/aws_lakeformation_data_lake_settings: Add `parameters` map attribute to read `CROSS_ACCOUNT_VERSION` ([#39826](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39826))
- data-source/aws_lb: Add `enable_zonal_shift` attribute ([#39585](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39585))
- resource/aws_apprunner_auto_scaling_configuration_version: Remove the upper limit on `min_size` and `max_size` ([#39843](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39843))
- resource/aws_batch_job_definition: Ensure that new revisions are created with tags ([#39797](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39797))
- resource/aws_codedeploy_deployment_config: Add `zonal_config` argument ([#34850](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34850))
- resource/aws_dynamodb_kinesis_streaming_destination: Add `approximate_creation_date_time_precision` argument ([#38098](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38098))
- resource/aws_elasticache_cluster: Support `valkey` as valid value for `engine` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745))
- resource/aws_elasticache_global_replication_group: Support Valkey versions for `engine_version` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745))
- resource/aws_elasticache_replication_group: Support Valkey versions for `engine_version` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745))
- resource/aws_elasticache_replication_group: Support `valkey` as valid value for `engine` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745))
- resource/aws_elasticache_serverless_cache: Support `valkey` as valid value for `engine` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745))
- resource/aws_kinesis_firehose_delivery_stream: Add `iceberg_configuration` argument ([#39844](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39844))
- resource/aws_lakeformation_data_lake_settings: Add `parameters` map argument enabling `CROSS_ACCOUNT_VERSION` to be set ([#39826](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39826))
- resource/aws_lb: Add `enable_zonal_shift` argument ([#39585](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39585))
- resource/aws_lb_listener: Add `tcp_idle_timeout_seconds` argument ([#39585](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39585))
- resource/aws_route53profiles_association: Add regex and string length validation for `name` argument ([#39798](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39798))
- resource/aws_s3\_bucket_object: Remove the call to `kms:DescribeKey` for the S3 default AWS managed key (`alias/aws/s3`) on Read ([#39782](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39782))
- resource/aws_s3\_object: Remove the call to `kms:DescribeKey` for the S3 default AWS managed key (`alias/aws/s3`) on Read ([#39782](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39782))
- resource/aws_s3\_object_copy: Remove the call to `kms:DescribeKey` for the S3 default AWS managed key (`alias/aws/s3`) on Read ([#39782](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39782))
- resource/aws_sagemaker_domain: Add `default_user_settings.jupyter_lab_app_settings.app_lifecycle_management`, `default_user_settings.jupyter_lab_app_settings.built_in_lifecycle_config_arn`, `default_user_settings.jupyter_lab_app_settings.emr_settings`, `default_space_settings.jupyter_lab_app_settings.app_lifecycle_management`, `default_space_settings.jupyter_lab_app_settings.built_in_lifecycle_config_arn`, `default_space_settings.jupyter_lab_app_settings.emr_settings`, `default_user_settings.auto_mount_home_efs`, `default_user_settings.canvas_app_settings.emr_serverless_settings`, `default_user_settings.studio_web_portal_settings.hidden_instance_types`, `default_user_settings.code_editor_app_settings.app_lifecycle_management`, `default_user_settings.code_editor_app_settings.built_in_lifecycle_config_arn`, and `tag_propagation` arguments ([#39774](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39774))
- resource/aws_sagemaker_domain: Allow `app_network_access_type` and `app_security_group_management` to be updated in-place ([#39774](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39774))
- resource/aws_sagemaker_feature_group: Add `feature_definition.collection_config`, `feature_definition.collection_type`, and `throughput_config` arguments ([#39805](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39805))
- resource/aws_sagemaker_space: Add `space_settings.code_editor_app_settings.app_lifecycle_management` and `space_settings.jupyter_lab_app_settings.app_lifecycle_management` arguments ([#39800](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39800))
- resource/aws_sagemaker_user_profile: Add `user_settings.auto_mount_home_efs`, `user_settings.canvas_app_settings.emr_serverless_settings`, `user_settings.code_editor_app_settings.app_lifecycle_management`, `user_settings.code_editor_app_settings.built_in_lifecycle_config_arn`, `user_settings.jupyter_lab_app_settings.app_lifecycle_management`, `user_settings.jupyter_lab_app_settings.built_in_lifecycle_config_arn`, `user_settings.jupyter_lab_app_settings.emr_settings` and `user_settings.studio_web_portal_settings.hidden_instance_types` arguments ([#39774](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39774))
BUG FIXES:
- data-source/aws_workspaces_bundle: Return the first matching bundle when searching by `name`. This fixes a regression introduced in [v5.72.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5720-october-15-2024) causing `multiple WorkSpaces Bundles matched; use additional constraints to reduce matches to a single WorkSpaces Bundle` errors ([#39777](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39777))
- resource/aws_dynamodb_table: Fix validation error when optional attribute in `on_demand_throughput` is excluded ([#39784](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39784))
- resource/aws_ecr_repository_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842))
- resource/aws_elasticache_serverless_cache: Fix `InvalidParameterValue: This API supports only cross-engine upgrades to Valkey engine currently` errors on Update ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745))
- resource/aws_iam_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842))
- resource/aws_iam_role_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842))
- resource/aws_kms_key: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842))
- resource/aws_quicksight_data_set: Fix `InvalidParameterValueException: Invalid RowLevelPermissionDataSet. Namespace parameter should not be specified for Version 2` errors on Create and Update ([#39778](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39778))
- resource/aws_route53\_record: Allow creation of records with `ttl=0` ([#39728](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39728))
- resource/aws_s3\_bucket_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842))
- resource/aws_secretsmanager_secret: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842))
- resource/aws_security_group_rule: Remove from state when rule not found. This fixes a regression introduced in [v5.60.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5600-july-25-2024) ([#39834](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39834))
### [`v5.72.1`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5721-October-16-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.72.0...v5.72.1)
FEATURES:
- **New Resource:** `aws_iam_group_policy_attachments_exclusive` ([#39732](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39732))
- **New Resource:** `aws_iam_user_policy_attachments_exclusive` ([#39731](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39731))
ENHANCEMENTS:
- resource/aws_resourceexplorer2\_view: Add `scope` argument ([#39744](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39744))
BUG FIXES:
- data-source/aws_batch_job_definition: Properly handles ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734))
- data-source/aws_cognito_user_pool: Properly handles ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734))
- resource/aws_cognito_user_pool: Properly handles ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734))
- resource/aws_dynamodb_table: Fix crash when `billing_mode` is set to `PAY_PER_REQUEST` without `global_secondary_index` updates ([#39752](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39752))
- resource/aws_dynamodb_table_replica: Properly handles default and ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734))
- resource/aws_resourceexplorer2\_index: Correctly mark incomplete `AGGREGATOR` indexes as [tainted](https://developer.hashicorp.com/terraform/cli/state/taint#the-tainted-status) on Create ([#39744](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39744))
### [`v5.72.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5720-October-15-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.70.0...v5.72.0)
NOTES:
- This version contains all the features, enhancements, and bug fixes from the [v5.71.0 release](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5710-october-11-2024) which was removed from the Terraform Registry ([#39692](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39692))
- resource/aws_iam_role: The `managed_policy_arns` argument is deprecated. Use the `aws_iam_role_policy_attachments_exclusive` resource instead. ([#39718](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39718))
FEATURES:
- **New Resource:** `aws_iam_role_policy_attachments_exclusive` ([#39718](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39718))
ENHANCEMENTS:
- data-source/aws_workspaces_directory: Add `saml_properties` attribute ([#39060](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39060))
- resource/aws_appflow_flow: Add `source_flow_config.source_connector_properties.sapo_data.pagination_config` and `source_flow_config.source_connector_properties.sapo_data.parallelism_config` attributes ([#38932](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38932))
- resource/aws_cloudwatch_event_rule: Add tags to AWS API request on Update to support [ABAC `aws:RequestTag` conditions](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html#access_tags_control-requests) ([#39648](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39648))
- resource/aws_cloudwatch_event_target: Add `appsync_target` configuration block ([#37773](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37773))
- resource/aws_dynamodb_table: Add `on_demand_throughput` and `global_secondary_index.on_demand_throughput` arguments ([#37799](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37799))
- resource/aws_rds_cluster: Increase maximum value of `serverlessv2_scaling_configuration.max_capacity` and `serverlessv2_scaling_configuration.min_capacity` from `128` to `256` ([#39697](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39697))
- resource/aws_rds_cluster_instance: Treat `storage-optimization` status as success when creating or updating cluster DB instances ([#39691](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39691))
- resource/aws_workspaces_directory: Add `saml_properties` configuration block ([#39060](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39060))
BUG FIXES:
- data-source/aws_ssm_document: Correct `arn` for automation documents ([#39705](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39705))
- resource/aws_cognito_user_pool: Fixes error when `schema` has empty `string_attribute_constraints` or `number_attribute_constraints` ([#20386](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/20386))
- resource/aws_ssm_document: Correct `arn` for automation documents ([#39705](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39705))
### [`v5.70.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5700-October-4-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.69.0...v5.70.0)
NOTES:
- resource/aws_s3\_bucket_lifecycle_configuration: Amazon S3 now applies a default minimum object size of 128 KB for S3 Lifecycle transition rules to any S3 storage class. This new default behavior will be applied to any new or modified S3 Lifecycle configuration. You can override this new default and customize the minimum object size for S3 Lifecycle transition rules to any value ([#39578](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39578))
- resource/aws_simpledb_domain: The `aws_simpledb_domain` resource has been deprecated and will be removed in a future version. Use Amazon DynamoDB instead ([#39536](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39536))
- resource/aws_worklink_fleet: The `aws_worklink_fleet` resource has been deprecated and will be removed in a future version. Use Amazon WorkSpaces Secure Browser instead ([#39538](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39538))
- resource/aws_worklink_website_certificate_authority_association: The `aws_worklink_website_certificate_authority_association` resource has been deprecated and will be removed in a future version. Use Amazon WorkSpaces Secure Browser instead ([#39538](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39538))
FEATURES:
- **New Resource:** `aws_backup_logically_air_gapped_vault` ([#39098](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39098))
- **New Resource:** `aws_ec2_transit_gateway_default_route_table_association` ([#39496](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39496))
- **New Resource:** `aws_ec2_transit_gateway_default_route_table_propagation` ([#39517](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39517))
- **New Resource:** `aws_iam_group_policies_exclusive` ([#39554](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39554))
- **New Resource:** `aws_iam_user_policies_exclusive` ([#39544](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39544))
- **New Resource:** `aws_securityhub_standards_control_association` ([#39511](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39511))
ENHANCEMENTS:
- data-source/aws_ebs_snapshot: Add `start_time` attribute ([#39557](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39557))
- resource/aws_bedrockagent_agent_action_group: Add `prepare_agent` argument ([#39486](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39486))
- resource/aws_bedrockagent_data_source: Add `vector_ingestion_configuration.custom_transformation_configuration` argument ([#39556](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39556))
- resource/aws_globalaccelerator_endpoint_group: Add `endpoint_configuration.attachment_arn` argument ([#39507](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39507))
- resource/aws_lambda_code_signing_config: Add `tags` argument and `tags_all` attribute ([#39535](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39535))
- resource/aws_lambda_event_source_mapping: Add `arn` attribute ([#39535](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39535))
- resource/aws_lambda_event_source_mapping: Add `tags` argument and `tags_all` attribute ([#39535](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39535))
- resource/aws_s3\_bucket_lifecycle_configuration: Add `transition_default_minimum_object_size` argument ([#39578](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39578))
BUG FIXES:
- resource/aws_bedrockagent_agent: Fix "Provider produced inconsistent result after apply" error on update due to `customer_encryption_key_arn` not being passed during update ([#39565](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39565))
- resource/aws_bedrockagent_agent: Fix "Provider produced inconsistent result after apply" error on update due to `prompt_override_configuration` not being passed when not modified ([#39565](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39565))
- resource/aws_bedrockagent_knowledge_base: Change `knowledge_base_configuration` and `storage_configuration` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#39567](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39567))
- resource/aws_ec2\_transit_gateway_vpc_attachment: Remove default value for `security_group_referencing_support` argument and mark as Computed. This suppresses the diffs shown for resources created with v5.68.0 (or earlier) ([#39519](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39519))
- resource/aws_opensearchserverless_lifecycle_policy: Fix "Provider produced inconsistent result after apply" error on update due to `policy_version` computed attribute changing ([#39528](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39528))
- resource/aws_opensearchserverless_security_policy: Fix "Provider produced inconsistent result after apply" error on update due to `policy_version` computed attribute changing ([#39528](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39528))
- resource/aws_quicksight_dashboard: Fix mapping of `sheets.filter_controls.list.cascading_control_configuration` and `sheets.parameter_controls.list.cascading_control_configuration` attributes ([#39453](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39453))
### [`v5.69.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5690-September-26-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.68.0...v5.69.0)
NOTES:
- provider: This release contains an upstream AWS SDK for Go v2 [change](https://redirect.github.com/aws/aws-sdk-go-v2/issues/2807) to DynamoDB service endpoints. The Terraform AWS Provider will now connect to a DynamoDB endpoint in the format [`(account-id).ddb.(region).amazonaws.com`](https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html) instead of `dynamodb.(region).amazonaws.com`. If your network configuration blocks outgoing traffic to DynamoDB based on DNS names or endpoint URLs, you must adjust your configuration, because the service's DNS name will change. You may instead disable account-based endpoints for DynamoDB by setting `account_id_endpoint_mode = disabled` in a [shared config file](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html#ConfigFileSettings) or setting the `AWS_ACCOUNT_ID_ENDPOINT_MODE` [environment variable](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html#EVarSettings) to `disabled` ([#39505](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39505))
- provider: Updates to Go `1.23.1`. The issue with AWS Network Firewall dropping TLS handshake `ClientHello` messages after the **v5.65.0** upgrade to Go `1.23.0`, temporarily resolved by the **v5.67.0** downgrade to Go `1.22.7`, has been addressed by removing the `X25519Kyber768Draft00` key exchange mechanism from the HTTP client used to make AWS API calls ([#39432](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39432))
- resource/aws_alb_listener: When importing a listener that has either a default action top-level target group ARN or a default action defining a forward action defining a target group with an ARN, include both in the configuration to avoid import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
- resource/aws_lb_listener: When importing a listener that has either a default action top-level target group ARN or a default action defining a forward action defining a target group with an ARN, include both in the configuration to avoid import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
ENHANCEMENTS:
- data-source/aws_connect_instance: Add `tags` attribute ([#39402](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39402))
- data-source/aws_ec2\_transit_gateway: Add `security_group_referencing_support` attribute ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542))
- data-source/aws_ec2\_transit_gateway_vpc_attachment: Add `security_group_referencing_support` attribute ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542))
- data-source/aws_opensearchserverless_collection: Add `failure_code` and `failure_reason` attributes ([#38995](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38995))
- resource/aws_bedrockagent_agent: Add `guardrail_configuration` argument ([#39440](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39440))
- resource/aws_connect_instance: Add `tags` argument and `tags_all` attribute ([#39402](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39402))
- resource/aws_ec2\_transit_gateway: Add `security_group_referencing_support` argument ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542))
- resource/aws_ec2\_transit_gateway_vpc_attachment: Add `security_group_referencing_support` argument ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542))
- resource/aws_ec2\_transit_gateway_vpc_attachment_accepter: Add `security_group_referencing_support` argument ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542))
- resource/aws_ecs_service: Add `volume_configuration.managed_ebs_volume.tag_specifications` attribute ([#38662](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38662))
- resource/aws_identitystore_group: Allow `display_name` to be updated in-place ([#39416](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39416))
- resource/aws_kinesis_stream: Tag on Create to support attribute-based access control (ABAC) ([#39504](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39504))
- resource/aws_quicksight_data_source: Add `credentials.secret_arn` argument ([#29034](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29034))
BUG FIXES:
- data-source/aws_opensearchserverless_vpc_endpoint: Correctly set `security_group_ids`. This requires a call to the EC2 `DescribeVpcEndpoints` API ([#39454](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39454))
- data-source/aws_region: Fix lookups for the `ap-southeast-5` Region ([#39389](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39389))
- resource/aws_alb_listener: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
- resource/aws_alb_listener: Remove the limitation preventing setting both default_action.0.target_group_arn and default_action.0.forward to align with the AWS API which allows you to specify both a target group list and a top-level target group ARN if the ARNs match ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
- resource/aws_db_instance: Allow replica database to be added to domain on create ([#39448](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39448))
- resource/aws_db_instance_role_association: Fix intermittent failure when instance is not in an available state ([#39457](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39457))
- resource/aws_dynamodb_tag: Fix propagation timeout when multiple tags exist ([#39491](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39491))
- resource/aws_ecs_cluster: Fix validation error with `name` attribute. ([#38993](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38993))
- resource/aws_ecs_cluster_capacity_providers: Fix validation error with `name` attribute. ([#38993](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38993))
- resource/aws_iam_role: Retry `ConcurrentModificationException`s during role creation ([#39429](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39429))
- resource/aws_inspector2\_enabler: Fix `AccessDeniedException: Lambda code scanning is not supported in ...` errors ([#38254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38254))
- resource/aws_inspector2\_member_association: Improve handling of `AccessDeniedException` errors during creation ([#38254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38254))
- resource/aws_lb_listener: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
- resource/aws_lb_listener: Remove the limitation preventing setting both default_action.0.target_group_arn and default_action.0.forward to align with the AWS API which allows you to specify both a target group list and a top-level target group ARN if the ARNs match ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
- resource/aws_lb_listener_rule: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
- resource/aws_lb_target_group: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413))
- resource/aws_medialive_multiplex: Fix to properly handle read failures during delete operations which were previously ignored ([#39498](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39498))
- resource/aws_opensearchserverless_vpc_endpoint: Change `name` and `vpc_id` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#39454](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39454))
- resource/aws_opensearchserverless_vpc_endpoint: Correctly set `security_group_ids`. This requires a call to the EC2 `DescribeVpcEndpoints` API ([#39454](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39454))
- resource/aws_rds_cluster_role_association: Fix intermittent failure when cluster is not in an available state ([#39457](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39457))
- resource/aws_vpc_dhcp_options: Fix a bug causing a panic crash when an option is absent ([#39427](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39427))
### [`v5.68.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5680-September-19-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.67.0...v5.68.0)
NOTES:
- resource/aws_iam_role: The `inline_policy` argument is deprecated. Use the `aws_iam_role_policy` resource instead. If Terraform should exclusively manage all inline policy associations (the current behavior of this argument), use the `aws_iam_role_policies_exclusive` resource as well. ([#39203](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39203))
- resource/aws_lexv2models_slot_type: Within the `composite_slot_type_setting` block, the `subslots` argument has been renamed `sub_slots`. See the [linked pull request](https://redirect.github.com/hashicorp/terraform-provider-aws/pull/39353) for additional justification on this change. The previous misnaming effectively made this argument unusable, therefore a breaking change in a minor version was deemed acceptable. ([#39353](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39353))
FEATURES:
- **New Data Source:** `aws_elasticache_reserved_cache_node_offering` ([#29832](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29832))
- **New Data Source:** `aws_securityhub_standards_control_associations` ([#39334](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39334))
- **New Data Source:** `aws_synthetics_runtime_version` ([#39180](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39180))
- **New Data Source:** `aws_synthetics_runtime_versions` ([#39180](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39180))
- **New Resource:** `aws_appsync_source_api_association` ([#39323](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39323))
- **New Resource:** `aws_elasticache_reserved_cache_node` ([#29832](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29832))
- **New Resource:** `aws_iam_role_policies_exclusive` ([#39203](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39203))
- **New Resource:** `aws_pinpointsmsvoicev2_opt_out_list` ([#25036](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/25036))
- **New Resource:** `aws_pinpointsmsvoicev2_phone_number` ([#25036](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/25036))
- **New Resource:** `aws_sesv2_account_suppression_attributes` ([#39325](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39325))
ENHANCEMENTS:
- resource/aws_s3\_bucket_server_side_encryption_configuration: S3 directory buckets now support SSE-KMS ([#39366](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39366))
- resource/aws_ses_receipt_rule: Add `iam_role_arn` argument to `s3_action` configuration block ([#39364](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39364))
- resource/aws_synthetics_canary: Increase maximum `name` length to 255 characters ([#39315](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39315))
BUG FIXES:
- provider: Allows `assume_role.role_arn` to be an empty string when there is a single `assume_role` entry. ([#39328](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39328))
- resource/aws_amplify_app: Fix failure when unsetting the `environment_variables` argument ([#39397](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39397))
- resource/aws_dynamodb_table: Fix changing replicas to the default `Managed by DynamoDB` encryption setting ([#31284](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31284))
- resource/aws_dynamodb_table: Handle eventual consistency of tag creation and removal ([#39326](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39326))
- resource/aws_dynamodb_table_replica: Handle eventual consistency of tag creation and removal ([#39326](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39326))
- resource/aws_dynamodb_tag: Handle eventual consistency of tag creation and removal ([#39326](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39326))
- resource/aws_mq_broker: Fix `engine_version` mismatch with RabbitMQ 3.13 and ActiveMQ 5.18 and above ([#39024](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39024))
- resource/aws_mwaa_environment: Fix creating environments with `endpoint_management = "CUSTOMER"` ([#39394](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39394))
- resource/aws_opensearchserverless_access_policy: Fix incompatible type error when setting `policy` ([#39322](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39322))
### [`v5.67.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5670-September-12-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.66.0...v5.67.0)
BREAKING CHANGES:
- resource/aws_lexv2models_slot_type: Within the `value_selection_setting.advanced_recognition_setting` block, the `audio_recognition_setting` argument has been renamed `audio_recognition_strategy` ([#39254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39254))
NOTES:
- provider: Downgrades to Go `1.22.6`. A small number of users have reported failed or hanging network connections using the version of the Terraform AWS provider which was first built with Go `1.23.0` (`v5.65.0`). At this point, maintainers have been unable to reproduce failures, but enough distinct users have reported issues that we are going to attempt downgrading to Go `1.22.6` for the next provider release. We will continue to coordinate with users and AWS in an attempt to identify the root cause, using this upcoming release with a reverted Go build version as a data point. ([#39256](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39256))
- resource/aws_lexv2models_slot_type: Within the `value_selection_setting.advanced_recognition_setting` block, the `audio_recognition_setting` argument has been renamed `audio_recognition_strategy`. See the [linked pull request](https://redirect.github.com/hashicorp/terraform-provider-aws/pull/39254) for additional justification on this change. The previous misnaming effectively made this argument unusable, therefore a breaking change in a minor version was deemed acceptable. ([#39254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39254))
FEATURES:
- **New Data Source:** `aws_codebuild_fleet` ([#39237](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39237))
- **New Resource:** `aws_cloudformation_stack_instances` ([#36794](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36794))
- **New Resource:** `aws_codebuild_fleet` ([#39237](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39237))
- **New Resource:** `aws_computeoptimizer_enrollment_status` ([#35349](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35349))
- **New Resource:** `aws_computeoptimizer_recommendation_preferences` ([#35349](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35349))
- **New Resource:** `aws_costoptimizationhub_enrollment_status` ([#36440](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36440))
- **New Resource:** `aws_costoptimizationhub_preferences` ([#36526](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36526))
- **New Resource:** `aws_datazone_asset_type` ([#38812](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38812))
- **New Resource:** `aws_datazone_environment_profile` ([#38581](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38581))
- **New Resource:** `aws_lambda_function_recursion_config` ([#39153](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39153))
ENHANCEMENTS:
- data-source/aws_acm_certificate: Mark `domain` and `tags` as Optional. This enables certificates to be matched based on tags ([#31453](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31453))
- data-source/aws_kinesis_stream: Add `encryption_type` and `kms_key_id` attributes ([#39212](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39212))
- datasource/aws_cognito_user_pool: Deprecates `user_pool_tags` in favor of standard `tags`. ([#39260](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39260))
- provider: Adds support for IAM role chaining. The provider attribute `assume_role` now accepts multiple elements. ([#39255](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39255))
- resource/aws_amplify_app: Add `cache_config` argument ([#39215](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39215))
- resource/aws_cloudhsm_v2\_cluster: Add `mode` argument ([#39206](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39206))
- resource/aws_cloudhsm_v2\_cluster: Support `hsm2m.medium` as a valid value for `hsm_type` ([#39206](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39206))
- resource/aws_codebuild_project: Add `fleet` attribute in `environment` configuration block ([#39237](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39237))
- resource/aws_kinesis_firehose_delivery_stream: Add `snowflake_configuration.buffering_internal` and `snowflake_configuration.buffering_size` arguments ([#39214](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39214))
- resource/aws_quicksight_user: Add `READER_PRO`, `AUTHOR_PRO`, and `ADMIN_PRO` as valid values for the `user_role` argument ([#39220](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39220))
- resource/aws_sagemaker_domain: Add `default_user_settings.domain_settings.docker_settings` configuration block ([#35416](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35416))
- resource/aws_sagemaker_domain: Add `default_user_settings.studio_web_portal_settings`, `default_space_settings.jupyter_lab_app_settings`, `default_space_settings.space_storage_settings`, `default_space_settings.custom_posix_user_config`, and `default_space_settings.custom_file_system_config` configuration blocks ([#38457](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38457))
- resource/aws_sagemaker_endpoint_configuration: Add `production_variants.managed_instance_scaling` and `shadow_production_variants.managed_instance_scaling` configuration blocks ([#35479](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35479))
- resource/aws_sagemaker_model: Add `primary_container.inference_specification_name` and `container.inference_specification_name` arguments ([#35873](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35873))
- resource/aws_sagemaker_model: Add `primary_container.model_data_source.s3_data_source.model_access_config`, `primary_container.multi_model_config`, `container.model_data_source.s3_data_source.model_access_config`, and `container.multi_model_config` configuration blocks ([#35873](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35873))
- resource/aws_sagemaker_user_profile: Add `user_settings.studio_web_portal_settings` configuration block ([#38567](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38567))
- resource/aws_sfn_state_machine: Add plan-time validation of `definition` using the AWS Step Functions [Validation API](https://docs.aws.amazon.com/step-functions/latest/apireference/API_ValidateStateMachineDefinition.html) ([#39229](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39229))
BUG FIXES:
- data-source/aws_eks_cluster: Return `created_at` as an [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) formatted timestamp ([#24183](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/24183))
- datasource/aws_cognito_user_pool: Fixes value conversion error. ([#39260](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39260))
- provider: Fix empty tags drift on fwprovider resources ([#38636](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38636))
- resource/aws_batch_job_queue: Fixes error in schema migration function. ([#39257](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39257))
- resource/aws_cognito_user_pool: Correctly unsets tags. ([#39260](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39260))
- resource/aws_ecr_repository_policy: Fix retry logic handling eventual consistency of newly created IAM roles ([#39190](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39190))
- resource/aws_eks_cluster: Return `created_at` as an [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) formatted timestamp ([#24183](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/24183))
- resource/aws_iam_role: Fix to reduce Terraform reporting differences when a role's ARN temporarily appears as the role's unique ID ([#36794](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36794))
- resource/aws_networkfirewall_tls_inspection_configuration: Fix issue where `check_certificate_revovation_status` is ignored due to bad autoflex field mapping ([#39211](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39211))
- resource/aws_networkmonitor_monitor: Fixes error when optional attribute `aggregation_period` not set. ([#39279](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39279))
- resource/aws_quicksight_data_set: Change `permissions.actions` `MaxItems` from `16` to `20`. This fixes a regression introduced in [v5.66.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5660-september--5-2024) ([#39226](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39226))
- resource/aws_quicksight_vpc_connection: Remove `vpc_connection_id` regular expression validator. This fixes a regression introduced in [v5.66.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5660-september--5-2024) ([#39231](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39231))
- resource/aws_sagemaker_domain: Fix update for `default_user_settings.domain_settings` to include missing `security_group_ids` and `r_studio_server_pro_domain_settings` values ([#35416](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35416))
- resource/aws_sesv2\_configuration_set: Allow `suppression_options.suppressed_reasons` to be an empty list (`[]`) in order to disable the suppression list ([#29671](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29671))
- resource/aws_sesv2\_configuration_set_event_destination: Change `event_destination.matching_event_types` from `TypeList` to `TypeSet` as order is not significant ([#36897](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36897))
- resource/aws_verifiedaccess_endpoint: fix crash when updating `load_balancer_options.subnet_ids` ([#39196](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39196))
### [`v5.66.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5660-September-5-2024)
[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.65.0...v5.66.0)
FEATURES:
- **New Data Source:** `aws_glue_registry` ([#37953](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37953))
- **New Data Source:** `aws_organizations_organizational_unit_descendant_organizational_units` ([#39120](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39120))
- **New Data Source:** `aws_quicksight_analysis` ([#31737](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31737))
- **New Resource:** `aws_datazone_environment` ([#38811](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38811))
ENHANCEMENTS:
- data-source/aws_sns_topic: Add `tags` attribute ([#38959](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38959))
- data-source/aws_transfer_server: Add `tags` attribute ([#39092](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39092))
- resource/aws_appsync_graphql_api: Add `api_type` and `merged_api_execution_role_arn` arguments ([#39159](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39159))
- resource/aws_bedrockagent_data_source: Add `vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration`, `vector_ingestion_configuration.chunking_configuration.hierarchical_chunking_configuration`, and `vector_ingestion_configuration.parsing_configuration` configuration blocks ([#39138](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39138))
- resource/aws_datazone_domain: Add `skip_deletion_protection` attribute ([#38811](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38811))
- resource/aws_docdbelastic_cluster: Add `backup_retention_period` and `preferred_backup_window` attributes ([#38452](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38452))
- resource/aws_quicksight_data_source: Add `parameters.databricks` argument ([#31737](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31737))
- resource/aws_rolesanywhere_trust_anchor: Add `notification_settings` argument ([#39108](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39108))
- resource/aws_sagemaker_endpoint: Increase Create and Update `InService` timeouts to 60 minutes ([#39090](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39090))
- resource/aws_wafv2\_rule_group: Reduce `rate_based_statement.limit` minimum from `100` to `10` ([#39107](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39107))
- resource/aws_wafv2\_web_acl: Reduce `rate_based_statement.limit` minimum from `100` to `10` ([#39107](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39107))
BUG FIXES:
- data-source/aws_networkmanager_core_network_policy_document: Change `segment_actions.via.with_edge_override.use_edge` to be nested set of edges, matching JSON ([#39142](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39142))
- data-source/aws_networkmanager_core_network_policy_document: Deprecate `segment_actions.via.with_edge_override.use_edge`. Use `segment_actions.via.with_edge_override.use_edge_location` instead ([#39142](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39142))
- many resources: Fixes perpetual diff when tag has a `null` value. ([#38869](https://redirect.gith
Configuration
📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" in timezone America/Lima, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
4.67.0
->5.75.0
:warning: MAJOR MAJOR MAJOR :warning:
Release Notes
hashicorp/terraform-provider-aws (aws)
### [`v5.75.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5750-November-7-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.74.0...v5.75.0) BREAKING CHANGES: - resource/aws_api_gateway_stage: Add `canary_settings.deployment_id` attribute as `required` ([#39929](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39929)) NOTES: - provider: validation of arguments implementing the custom `ARNType` will properly surface validation errors ([#40008](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40008)) - resource/aws_api_gateway_stage: `deployment_id` was added to `canary_settings` as a `required` attribute. This breaking change was necessary to make `canary_settings` functional. Without this change all canary traffic was routed to the main deployment ([#39929](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39929)) FEATURES: - **New Data Source:** `aws_spot_datafeed_subscription` ([#39647](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39647)) ENHANCEMENTS: - data-source/aws_batch_job_definition: Add `init_containers`, `share_process_namespace`, and `image_pull_secrets` attributes ([#40019](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40019)) - resource/aws_batch_job_definition: Add `init_containers` and `share_process_namespace` arguments ([#40019](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40019)) - resource/aws_batch_job_definition: Increase maximum number of `containers` arguments to 10 ([#40019](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40019)) - resource/aws_eks_addon: Add `pod_identity_association` argument ([#38357](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38357)) - resource/aws_iam_user_login_profile: Mark the `password` argument as sensitive ([#39991](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39991)) BUG FIXES: - resource/aws_api_gateway_deployment: Fix destroy error when canary stage still exists on resource ([#39929](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39929)) - resource/aws_codedeploy_deployment_group: Remove maximum items limit on the `alarm_configuration.alarms` argument ([#39971](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39971)) - resource/aws_eks_addon: Handle `ResourceNotFound` exceptions during resource destruction ([#38357](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38357)) - resource/aws_elasticache_reserved_cache_node: Fix `Value Conversion Error` during resource creation ([#39945](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39945)) - resource/aws_lb_listener: Fix errors when updating the `tcp_idle_timeout_seconds` argument for gateway load balancers ([#40039](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40039)) - resource/aws_lb_listener: Remove the default `tcp_idle_timeout_seconds` value, preventing `ModifyListenerAttributes` API calls when a value is not explicitly configured ([#40039](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40039)) - resource/aws_vpc_ipam_pool: Fix bug when `public_ip_source = "amazon"`: `The request can only contain PubliclyAdvertisable if the AddressFamily is IPv6 and PublicIpSource is byoip.` ([#40042](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/40042)) ### [`v5.74.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5740-October-31-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.73.0...v5.74.0) FEATURES: - **New Data Source:** `aws_lb_listener_rule` ([#39865](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39865)) - **New Resource:** `aws_opensearch_authorize_vpc_endpoint_access` ([#39846](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39846)) - **New Resource:** `aws_ssmquicksetup_configuration_manager` ([#39931](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39931)) ENHANCEMENTS: - data-source/aws_imagebuilder_distribution_configuration: Add `distribution.s3_export_configuration` attribute ([#35492](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35492)) - data-source/aws_imagebuilder_image_recipe: Fix `block_device_mapping.0.ebs.0.delete_on_termination: '' expected type 'bool', got unconvertible type 'string'` errors ([#39928](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39928)) - resource/aws_codedeploy_deployment_group: Add `termination_hook_enabled` argument ([#35482](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35482)) - resource/aws_eks_cluster: Add `zonal_shift_config` argument ([#39852](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39852)) - resource/aws_imagebuilder_distribution_configuration: Add `distribution.s3_export_configuration` argument ([#35492](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35492)) - resource/aws_imagebuilder_image_pipeline: Allow `container_recipe_arn` and `image_recipe_arn` to be updated in-place ([#39117](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39117)) - resource/aws_keyspaces_keyspace: Add `replication_specification` argument ([#36331](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36331)) - resource/aws_launch_template: Add `efa-only` as a valid value for `network_interfaces.interface_type` ([#39882](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39882)) - resource/aws_transfer_server: Add `TransferSecurityPolicy-Restricted-2024-06` as a valid value for `security_policy_name` ([#39871](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39871)) BUG FIXES: - resource/aws_docdb_cluster: Use `master_password` on resource Create when `snapshot_identifier` is configured ([#38193](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38193)) - resource/aws_imagebuilder_container_recipe: Change `component.parameter.name`, `component.parameter.value`, `target_repository.repository_name`, and `target_repository.service` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#39117](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39117)) - resource/aws_route53\_record: Fix `interface conversion: interface {} is nil, not map[string]interface {}` panic when `geolocation_routing_policy` is empty ([#39944](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39944)) - resource/aws_ssm_patch_baseline: Update `approval_rule.approve_after_days` validation to allow a maximum value of `360` ([#39949](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39949)) - resource/aws_wafv2\_web_acl: Fix `decoding JSON: unexpected end of JSON input` errors when updating from using `rule_json` to using `rule` ([#39283](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39283)) - resource/aws_wafv2\_web_acl: Fix unmarshal error for incompatible types in `rule_json` ([#39878](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39878)) ### [`v5.73.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5730-October-24-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.72.1...v5.73.0) FEATURES: - **New Data Source:** `aws_ssm_patch_baselines` ([#39779](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39779)) - **New Resource:** `aws_imagebuilder_lifecycle_policy` ([#35674](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35674)) - **New Resource:** `aws_resiliencehub_resiliency_policy` ([#38913](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38913)) - **New Resource:** `aws_sagemaker_hub` ([#39807](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39807)) - **New Resource:** `aws_sagemaker_mlflow_tracking_server` ([#39796](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39796)) ENHANCEMENTS: - data-source/aws_elasticache_reserved_cache_node_offering: Support `valkey` as valid value for `product_description` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745)) - data-source/aws_lakeformation_data_lake_settings: Add `parameters` map attribute to read `CROSS_ACCOUNT_VERSION` ([#39826](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39826)) - data-source/aws_lb: Add `enable_zonal_shift` attribute ([#39585](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39585)) - resource/aws_apprunner_auto_scaling_configuration_version: Remove the upper limit on `min_size` and `max_size` ([#39843](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39843)) - resource/aws_batch_job_definition: Ensure that new revisions are created with tags ([#39797](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39797)) - resource/aws_codedeploy_deployment_config: Add `zonal_config` argument ([#34850](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34850)) - resource/aws_dynamodb_kinesis_streaming_destination: Add `approximate_creation_date_time_precision` argument ([#38098](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38098)) - resource/aws_elasticache_cluster: Support `valkey` as valid value for `engine` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745)) - resource/aws_elasticache_global_replication_group: Support Valkey versions for `engine_version` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745)) - resource/aws_elasticache_replication_group: Support Valkey versions for `engine_version` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745)) - resource/aws_elasticache_replication_group: Support `valkey` as valid value for `engine` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745)) - resource/aws_elasticache_serverless_cache: Support `valkey` as valid value for `engine` ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745)) - resource/aws_kinesis_firehose_delivery_stream: Add `iceberg_configuration` argument ([#39844](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39844)) - resource/aws_lakeformation_data_lake_settings: Add `parameters` map argument enabling `CROSS_ACCOUNT_VERSION` to be set ([#39826](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39826)) - resource/aws_lb: Add `enable_zonal_shift` argument ([#39585](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39585)) - resource/aws_lb_listener: Add `tcp_idle_timeout_seconds` argument ([#39585](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39585)) - resource/aws_route53profiles_association: Add regex and string length validation for `name` argument ([#39798](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39798)) - resource/aws_s3\_bucket_object: Remove the call to `kms:DescribeKey` for the S3 default AWS managed key (`alias/aws/s3`) on Read ([#39782](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39782)) - resource/aws_s3\_object: Remove the call to `kms:DescribeKey` for the S3 default AWS managed key (`alias/aws/s3`) on Read ([#39782](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39782)) - resource/aws_s3\_object_copy: Remove the call to `kms:DescribeKey` for the S3 default AWS managed key (`alias/aws/s3`) on Read ([#39782](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39782)) - resource/aws_sagemaker_domain: Add `default_user_settings.jupyter_lab_app_settings.app_lifecycle_management`, `default_user_settings.jupyter_lab_app_settings.built_in_lifecycle_config_arn`, `default_user_settings.jupyter_lab_app_settings.emr_settings`, `default_space_settings.jupyter_lab_app_settings.app_lifecycle_management`, `default_space_settings.jupyter_lab_app_settings.built_in_lifecycle_config_arn`, `default_space_settings.jupyter_lab_app_settings.emr_settings`, `default_user_settings.auto_mount_home_efs`, `default_user_settings.canvas_app_settings.emr_serverless_settings`, `default_user_settings.studio_web_portal_settings.hidden_instance_types`, `default_user_settings.code_editor_app_settings.app_lifecycle_management`, `default_user_settings.code_editor_app_settings.built_in_lifecycle_config_arn`, and `tag_propagation` arguments ([#39774](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39774)) - resource/aws_sagemaker_domain: Allow `app_network_access_type` and `app_security_group_management` to be updated in-place ([#39774](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39774)) - resource/aws_sagemaker_feature_group: Add `feature_definition.collection_config`, `feature_definition.collection_type`, and `throughput_config` arguments ([#39805](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39805)) - resource/aws_sagemaker_space: Add `space_settings.code_editor_app_settings.app_lifecycle_management` and `space_settings.jupyter_lab_app_settings.app_lifecycle_management` arguments ([#39800](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39800)) - resource/aws_sagemaker_user_profile: Add `user_settings.auto_mount_home_efs`, `user_settings.canvas_app_settings.emr_serverless_settings`, `user_settings.code_editor_app_settings.app_lifecycle_management`, `user_settings.code_editor_app_settings.built_in_lifecycle_config_arn`, `user_settings.jupyter_lab_app_settings.app_lifecycle_management`, `user_settings.jupyter_lab_app_settings.built_in_lifecycle_config_arn`, `user_settings.jupyter_lab_app_settings.emr_settings` and `user_settings.studio_web_portal_settings.hidden_instance_types` arguments ([#39774](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39774)) BUG FIXES: - data-source/aws_workspaces_bundle: Return the first matching bundle when searching by `name`. This fixes a regression introduced in [v5.72.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5720-october-15-2024) causing `multiple WorkSpaces Bundles matched; use additional constraints to reduce matches to a single WorkSpaces Bundle` errors ([#39777](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39777)) - resource/aws_dynamodb_table: Fix validation error when optional attribute in `on_demand_throughput` is excluded ([#39784](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39784)) - resource/aws_ecr_repository_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842)) - resource/aws_elasticache_serverless_cache: Fix `InvalidParameterValue: This API supports only cross-engine upgrades to Valkey engine currently` errors on Update ([#39745](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39745)) - resource/aws_iam_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842)) - resource/aws_iam_role_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842)) - resource/aws_kms_key: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842)) - resource/aws_quicksight_data_set: Fix `InvalidParameterValueException: Invalid RowLevelPermissionDataSet. Namespace parameter should not be specified for Version 2` errors on Create and Update ([#39778](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39778)) - resource/aws_route53\_record: Allow creation of records with `ttl=0` ([#39728](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39728)) - resource/aws_s3\_bucket_policy: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842)) - resource/aws_secretsmanager_secret: Fix persistent validation errors when malformed `policy` content is written to state ([#39842](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39842)) - resource/aws_security_group_rule: Remove from state when rule not found. This fixes a regression introduced in [v5.60.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5600-july-25-2024) ([#39834](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39834)) ### [`v5.72.1`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5721-October-16-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.72.0...v5.72.1) FEATURES: - **New Resource:** `aws_iam_group_policy_attachments_exclusive` ([#39732](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39732)) - **New Resource:** `aws_iam_user_policy_attachments_exclusive` ([#39731](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39731)) ENHANCEMENTS: - resource/aws_resourceexplorer2\_view: Add `scope` argument ([#39744](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39744)) BUG FIXES: - data-source/aws_batch_job_definition: Properly handles ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734)) - data-source/aws_cognito_user_pool: Properly handles ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734)) - resource/aws_cognito_user_pool: Properly handles ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734)) - resource/aws_dynamodb_table: Fix crash when `billing_mode` is set to `PAY_PER_REQUEST` without `global_secondary_index` updates ([#39752](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39752)) - resource/aws_dynamodb_table_replica: Properly handles default and ignored tags. ([#39734](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39734)) - resource/aws_resourceexplorer2\_index: Correctly mark incomplete `AGGREGATOR` indexes as [tainted](https://developer.hashicorp.com/terraform/cli/state/taint#the-tainted-status) on Create ([#39744](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39744)) ### [`v5.72.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5720-October-15-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.70.0...v5.72.0) NOTES: - This version contains all the features, enhancements, and bug fixes from the [v5.71.0 release](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5710-october-11-2024) which was removed from the Terraform Registry ([#39692](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39692)) - resource/aws_iam_role: The `managed_policy_arns` argument is deprecated. Use the `aws_iam_role_policy_attachments_exclusive` resource instead. ([#39718](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39718)) FEATURES: - **New Resource:** `aws_iam_role_policy_attachments_exclusive` ([#39718](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39718)) ENHANCEMENTS: - data-source/aws_workspaces_directory: Add `saml_properties` attribute ([#39060](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39060)) - resource/aws_appflow_flow: Add `source_flow_config.source_connector_properties.sapo_data.pagination_config` and `source_flow_config.source_connector_properties.sapo_data.parallelism_config` attributes ([#38932](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38932)) - resource/aws_cloudwatch_event_rule: Add tags to AWS API request on Update to support [ABAC `aws:RequestTag` conditions](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html#access_tags_control-requests) ([#39648](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39648)) - resource/aws_cloudwatch_event_target: Add `appsync_target` configuration block ([#37773](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37773)) - resource/aws_dynamodb_table: Add `on_demand_throughput` and `global_secondary_index.on_demand_throughput` arguments ([#37799](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37799)) - resource/aws_rds_cluster: Increase maximum value of `serverlessv2_scaling_configuration.max_capacity` and `serverlessv2_scaling_configuration.min_capacity` from `128` to `256` ([#39697](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39697)) - resource/aws_rds_cluster_instance: Treat `storage-optimization` status as success when creating or updating cluster DB instances ([#39691](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39691)) - resource/aws_workspaces_directory: Add `saml_properties` configuration block ([#39060](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39060)) BUG FIXES: - data-source/aws_ssm_document: Correct `arn` for automation documents ([#39705](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39705)) - resource/aws_cognito_user_pool: Fixes error when `schema` has empty `string_attribute_constraints` or `number_attribute_constraints` ([#20386](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/20386)) - resource/aws_ssm_document: Correct `arn` for automation documents ([#39705](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39705)) ### [`v5.70.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5700-October-4-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.69.0...v5.70.0) NOTES: - resource/aws_s3\_bucket_lifecycle_configuration: Amazon S3 now applies a default minimum object size of 128 KB for S3 Lifecycle transition rules to any S3 storage class. This new default behavior will be applied to any new or modified S3 Lifecycle configuration. You can override this new default and customize the minimum object size for S3 Lifecycle transition rules to any value ([#39578](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39578)) - resource/aws_simpledb_domain: The `aws_simpledb_domain` resource has been deprecated and will be removed in a future version. Use Amazon DynamoDB instead ([#39536](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39536)) - resource/aws_worklink_fleet: The `aws_worklink_fleet` resource has been deprecated and will be removed in a future version. Use Amazon WorkSpaces Secure Browser instead ([#39538](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39538)) - resource/aws_worklink_website_certificate_authority_association: The `aws_worklink_website_certificate_authority_association` resource has been deprecated and will be removed in a future version. Use Amazon WorkSpaces Secure Browser instead ([#39538](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39538)) FEATURES: - **New Resource:** `aws_backup_logically_air_gapped_vault` ([#39098](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39098)) - **New Resource:** `aws_ec2_transit_gateway_default_route_table_association` ([#39496](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39496)) - **New Resource:** `aws_ec2_transit_gateway_default_route_table_propagation` ([#39517](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39517)) - **New Resource:** `aws_iam_group_policies_exclusive` ([#39554](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39554)) - **New Resource:** `aws_iam_user_policies_exclusive` ([#39544](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39544)) - **New Resource:** `aws_securityhub_standards_control_association` ([#39511](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39511)) ENHANCEMENTS: - data-source/aws_ebs_snapshot: Add `start_time` attribute ([#39557](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39557)) - resource/aws_bedrockagent_agent_action_group: Add `prepare_agent` argument ([#39486](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39486)) - resource/aws_bedrockagent_data_source: Add `vector_ingestion_configuration.custom_transformation_configuration` argument ([#39556](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39556)) - resource/aws_globalaccelerator_endpoint_group: Add `endpoint_configuration.attachment_arn` argument ([#39507](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39507)) - resource/aws_lambda_code_signing_config: Add `tags` argument and `tags_all` attribute ([#39535](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39535)) - resource/aws_lambda_event_source_mapping: Add `arn` attribute ([#39535](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39535)) - resource/aws_lambda_event_source_mapping: Add `tags` argument and `tags_all` attribute ([#39535](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39535)) - resource/aws_s3\_bucket_lifecycle_configuration: Add `transition_default_minimum_object_size` argument ([#39578](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39578)) BUG FIXES: - resource/aws_bedrockagent_agent: Fix "Provider produced inconsistent result after apply" error on update due to `customer_encryption_key_arn` not being passed during update ([#39565](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39565)) - resource/aws_bedrockagent_agent: Fix "Provider produced inconsistent result after apply" error on update due to `prompt_override_configuration` not being passed when not modified ([#39565](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39565)) - resource/aws_bedrockagent_knowledge_base: Change `knowledge_base_configuration` and `storage_configuration` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#39567](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39567)) - resource/aws_ec2\_transit_gateway_vpc_attachment: Remove default value for `security_group_referencing_support` argument and mark as Computed. This suppresses the diffs shown for resources created with v5.68.0 (or earlier) ([#39519](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39519)) - resource/aws_opensearchserverless_lifecycle_policy: Fix "Provider produced inconsistent result after apply" error on update due to `policy_version` computed attribute changing ([#39528](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39528)) - resource/aws_opensearchserverless_security_policy: Fix "Provider produced inconsistent result after apply" error on update due to `policy_version` computed attribute changing ([#39528](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39528)) - resource/aws_quicksight_dashboard: Fix mapping of `sheets.filter_controls.list.cascading_control_configuration` and `sheets.parameter_controls.list.cascading_control_configuration` attributes ([#39453](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39453)) ### [`v5.69.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5690-September-26-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.68.0...v5.69.0) NOTES: - provider: This release contains an upstream AWS SDK for Go v2 [change](https://redirect.github.com/aws/aws-sdk-go-v2/issues/2807) to DynamoDB service endpoints. The Terraform AWS Provider will now connect to a DynamoDB endpoint in the format [`(account-id).ddb.(region).amazonaws.com`](https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html) instead of `dynamodb.(region).amazonaws.com`. If your network configuration blocks outgoing traffic to DynamoDB based on DNS names or endpoint URLs, you must adjust your configuration, because the service's DNS name will change. You may instead disable account-based endpoints for DynamoDB by setting `account_id_endpoint_mode = disabled` in a [shared config file](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html#ConfigFileSettings) or setting the `AWS_ACCOUNT_ID_ENDPOINT_MODE` [environment variable](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html#EVarSettings) to `disabled` ([#39505](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39505)) - provider: Updates to Go `1.23.1`. The issue with AWS Network Firewall dropping TLS handshake `ClientHello` messages after the **v5.65.0** upgrade to Go `1.23.0`, temporarily resolved by the **v5.67.0** downgrade to Go `1.22.7`, has been addressed by removing the `X25519Kyber768Draft00` key exchange mechanism from the HTTP client used to make AWS API calls ([#39432](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39432)) - resource/aws_alb_listener: When importing a listener that has either a default action top-level target group ARN or a default action defining a forward action defining a target group with an ARN, include both in the configuration to avoid import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) - resource/aws_lb_listener: When importing a listener that has either a default action top-level target group ARN or a default action defining a forward action defining a target group with an ARN, include both in the configuration to avoid import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) ENHANCEMENTS: - data-source/aws_connect_instance: Add `tags` attribute ([#39402](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39402)) - data-source/aws_ec2\_transit_gateway: Add `security_group_referencing_support` attribute ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542)) - data-source/aws_ec2\_transit_gateway_vpc_attachment: Add `security_group_referencing_support` attribute ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542)) - data-source/aws_opensearchserverless_collection: Add `failure_code` and `failure_reason` attributes ([#38995](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38995)) - resource/aws_bedrockagent_agent: Add `guardrail_configuration` argument ([#39440](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39440)) - resource/aws_connect_instance: Add `tags` argument and `tags_all` attribute ([#39402](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39402)) - resource/aws_ec2\_transit_gateway: Add `security_group_referencing_support` argument ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542)) - resource/aws_ec2\_transit_gateway_vpc_attachment: Add `security_group_referencing_support` argument ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542)) - resource/aws_ec2\_transit_gateway_vpc_attachment_accepter: Add `security_group_referencing_support` argument ([#34542](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/34542)) - resource/aws_ecs_service: Add `volume_configuration.managed_ebs_volume.tag_specifications` attribute ([#38662](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38662)) - resource/aws_identitystore_group: Allow `display_name` to be updated in-place ([#39416](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39416)) - resource/aws_kinesis_stream: Tag on Create to support attribute-based access control (ABAC) ([#39504](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39504)) - resource/aws_quicksight_data_source: Add `credentials.secret_arn` argument ([#29034](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29034)) BUG FIXES: - data-source/aws_opensearchserverless_vpc_endpoint: Correctly set `security_group_ids`. This requires a call to the EC2 `DescribeVpcEndpoints` API ([#39454](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39454)) - data-source/aws_region: Fix lookups for the `ap-southeast-5` Region ([#39389](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39389)) - resource/aws_alb_listener: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) - resource/aws_alb_listener: Remove the limitation preventing setting both default_action.0.target_group_arn and default_action.0.forward to align with the AWS API which allows you to specify both a target group list and a top-level target group ARN if the ARNs match ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) - resource/aws_db_instance: Allow replica database to be added to domain on create ([#39448](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39448)) - resource/aws_db_instance_role_association: Fix intermittent failure when instance is not in an available state ([#39457](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39457)) - resource/aws_dynamodb_tag: Fix propagation timeout when multiple tags exist ([#39491](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39491)) - resource/aws_ecs_cluster: Fix validation error with `name` attribute. ([#38993](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38993)) - resource/aws_ecs_cluster_capacity_providers: Fix validation error with `name` attribute. ([#38993](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38993)) - resource/aws_iam_role: Retry `ConcurrentModificationException`s during role creation ([#39429](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39429)) - resource/aws_inspector2\_enabler: Fix `AccessDeniedException: Lambda code scanning is not supported in ...` errors ([#38254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38254)) - resource/aws_inspector2\_member_association: Improve handling of `AccessDeniedException` errors during creation ([#38254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38254)) - resource/aws_lb_listener: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) - resource/aws_lb_listener: Remove the limitation preventing setting both default_action.0.target_group_arn and default_action.0.forward to align with the AWS API which allows you to specify both a target group list and a top-level target group ARN if the ARNs match ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) - resource/aws_lb_listener_rule: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) - resource/aws_lb_target_group: Fix several of the arguments to avoiding setting zero-values in situations where they shouldn't causing warnings and import differences ([#39413](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39413)) - resource/aws_medialive_multiplex: Fix to properly handle read failures during delete operations which were previously ignored ([#39498](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39498)) - resource/aws_opensearchserverless_vpc_endpoint: Change `name` and `vpc_id` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#39454](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39454)) - resource/aws_opensearchserverless_vpc_endpoint: Correctly set `security_group_ids`. This requires a call to the EC2 `DescribeVpcEndpoints` API ([#39454](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39454)) - resource/aws_rds_cluster_role_association: Fix intermittent failure when cluster is not in an available state ([#39457](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39457)) - resource/aws_vpc_dhcp_options: Fix a bug causing a panic crash when an option is absent ([#39427](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39427)) ### [`v5.68.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5680-September-19-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.67.0...v5.68.0) NOTES: - resource/aws_iam_role: The `inline_policy` argument is deprecated. Use the `aws_iam_role_policy` resource instead. If Terraform should exclusively manage all inline policy associations (the current behavior of this argument), use the `aws_iam_role_policies_exclusive` resource as well. ([#39203](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39203)) - resource/aws_lexv2models_slot_type: Within the `composite_slot_type_setting` block, the `subslots` argument has been renamed `sub_slots`. See the [linked pull request](https://redirect.github.com/hashicorp/terraform-provider-aws/pull/39353) for additional justification on this change. The previous misnaming effectively made this argument unusable, therefore a breaking change in a minor version was deemed acceptable. ([#39353](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39353)) FEATURES: - **New Data Source:** `aws_elasticache_reserved_cache_node_offering` ([#29832](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29832)) - **New Data Source:** `aws_securityhub_standards_control_associations` ([#39334](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39334)) - **New Data Source:** `aws_synthetics_runtime_version` ([#39180](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39180)) - **New Data Source:** `aws_synthetics_runtime_versions` ([#39180](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39180)) - **New Resource:** `aws_appsync_source_api_association` ([#39323](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39323)) - **New Resource:** `aws_elasticache_reserved_cache_node` ([#29832](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29832)) - **New Resource:** `aws_iam_role_policies_exclusive` ([#39203](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39203)) - **New Resource:** `aws_pinpointsmsvoicev2_opt_out_list` ([#25036](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/25036)) - **New Resource:** `aws_pinpointsmsvoicev2_phone_number` ([#25036](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/25036)) - **New Resource:** `aws_sesv2_account_suppression_attributes` ([#39325](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39325)) ENHANCEMENTS: - resource/aws_s3\_bucket_server_side_encryption_configuration: S3 directory buckets now support SSE-KMS ([#39366](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39366)) - resource/aws_ses_receipt_rule: Add `iam_role_arn` argument to `s3_action` configuration block ([#39364](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39364)) - resource/aws_synthetics_canary: Increase maximum `name` length to 255 characters ([#39315](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39315)) BUG FIXES: - provider: Allows `assume_role.role_arn` to be an empty string when there is a single `assume_role` entry. ([#39328](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39328)) - resource/aws_amplify_app: Fix failure when unsetting the `environment_variables` argument ([#39397](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39397)) - resource/aws_dynamodb_table: Fix changing replicas to the default `Managed by DynamoDB` encryption setting ([#31284](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31284)) - resource/aws_dynamodb_table: Handle eventual consistency of tag creation and removal ([#39326](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39326)) - resource/aws_dynamodb_table_replica: Handle eventual consistency of tag creation and removal ([#39326](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39326)) - resource/aws_dynamodb_tag: Handle eventual consistency of tag creation and removal ([#39326](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39326)) - resource/aws_mq_broker: Fix `engine_version` mismatch with RabbitMQ 3.13 and ActiveMQ 5.18 and above ([#39024](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39024)) - resource/aws_mwaa_environment: Fix creating environments with `endpoint_management = "CUSTOMER"` ([#39394](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39394)) - resource/aws_opensearchserverless_access_policy: Fix incompatible type error when setting `policy` ([#39322](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39322)) ### [`v5.67.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5670-September-12-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.66.0...v5.67.0) BREAKING CHANGES: - resource/aws_lexv2models_slot_type: Within the `value_selection_setting.advanced_recognition_setting` block, the `audio_recognition_setting` argument has been renamed `audio_recognition_strategy` ([#39254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39254)) NOTES: - provider: Downgrades to Go `1.22.6`. A small number of users have reported failed or hanging network connections using the version of the Terraform AWS provider which was first built with Go `1.23.0` (`v5.65.0`). At this point, maintainers have been unable to reproduce failures, but enough distinct users have reported issues that we are going to attempt downgrading to Go `1.22.6` for the next provider release. We will continue to coordinate with users and AWS in an attempt to identify the root cause, using this upcoming release with a reverted Go build version as a data point. ([#39256](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39256)) - resource/aws_lexv2models_slot_type: Within the `value_selection_setting.advanced_recognition_setting` block, the `audio_recognition_setting` argument has been renamed `audio_recognition_strategy`. See the [linked pull request](https://redirect.github.com/hashicorp/terraform-provider-aws/pull/39254) for additional justification on this change. The previous misnaming effectively made this argument unusable, therefore a breaking change in a minor version was deemed acceptable. ([#39254](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39254)) FEATURES: - **New Data Source:** `aws_codebuild_fleet` ([#39237](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39237)) - **New Resource:** `aws_cloudformation_stack_instances` ([#36794](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36794)) - **New Resource:** `aws_codebuild_fleet` ([#39237](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39237)) - **New Resource:** `aws_computeoptimizer_enrollment_status` ([#35349](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35349)) - **New Resource:** `aws_computeoptimizer_recommendation_preferences` ([#35349](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35349)) - **New Resource:** `aws_costoptimizationhub_enrollment_status` ([#36440](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36440)) - **New Resource:** `aws_costoptimizationhub_preferences` ([#36526](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36526)) - **New Resource:** `aws_datazone_asset_type` ([#38812](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38812)) - **New Resource:** `aws_datazone_environment_profile` ([#38581](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38581)) - **New Resource:** `aws_lambda_function_recursion_config` ([#39153](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39153)) ENHANCEMENTS: - data-source/aws_acm_certificate: Mark `domain` and `tags` as Optional. This enables certificates to be matched based on tags ([#31453](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31453)) - data-source/aws_kinesis_stream: Add `encryption_type` and `kms_key_id` attributes ([#39212](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39212)) - datasource/aws_cognito_user_pool: Deprecates `user_pool_tags` in favor of standard `tags`. ([#39260](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39260)) - provider: Adds support for IAM role chaining. The provider attribute `assume_role` now accepts multiple elements. ([#39255](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39255)) - resource/aws_amplify_app: Add `cache_config` argument ([#39215](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39215)) - resource/aws_cloudhsm_v2\_cluster: Add `mode` argument ([#39206](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39206)) - resource/aws_cloudhsm_v2\_cluster: Support `hsm2m.medium` as a valid value for `hsm_type` ([#39206](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39206)) - resource/aws_codebuild_project: Add `fleet` attribute in `environment` configuration block ([#39237](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39237)) - resource/aws_kinesis_firehose_delivery_stream: Add `snowflake_configuration.buffering_internal` and `snowflake_configuration.buffering_size` arguments ([#39214](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39214)) - resource/aws_quicksight_user: Add `READER_PRO`, `AUTHOR_PRO`, and `ADMIN_PRO` as valid values for the `user_role` argument ([#39220](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39220)) - resource/aws_sagemaker_domain: Add `default_user_settings.domain_settings.docker_settings` configuration block ([#35416](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35416)) - resource/aws_sagemaker_domain: Add `default_user_settings.studio_web_portal_settings`, `default_space_settings.jupyter_lab_app_settings`, `default_space_settings.space_storage_settings`, `default_space_settings.custom_posix_user_config`, and `default_space_settings.custom_file_system_config` configuration blocks ([#38457](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38457)) - resource/aws_sagemaker_endpoint_configuration: Add `production_variants.managed_instance_scaling` and `shadow_production_variants.managed_instance_scaling` configuration blocks ([#35479](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35479)) - resource/aws_sagemaker_model: Add `primary_container.inference_specification_name` and `container.inference_specification_name` arguments ([#35873](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35873)) - resource/aws_sagemaker_model: Add `primary_container.model_data_source.s3_data_source.model_access_config`, `primary_container.multi_model_config`, `container.model_data_source.s3_data_source.model_access_config`, and `container.multi_model_config` configuration blocks ([#35873](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35873)) - resource/aws_sagemaker_user_profile: Add `user_settings.studio_web_portal_settings` configuration block ([#38567](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38567)) - resource/aws_sfn_state_machine: Add plan-time validation of `definition` using the AWS Step Functions [Validation API](https://docs.aws.amazon.com/step-functions/latest/apireference/API_ValidateStateMachineDefinition.html) ([#39229](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39229)) BUG FIXES: - data-source/aws_eks_cluster: Return `created_at` as an [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) formatted timestamp ([#24183](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/24183)) - datasource/aws_cognito_user_pool: Fixes value conversion error. ([#39260](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39260)) - provider: Fix empty tags drift on fwprovider resources ([#38636](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38636)) - resource/aws_batch_job_queue: Fixes error in schema migration function. ([#39257](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39257)) - resource/aws_cognito_user_pool: Correctly unsets tags. ([#39260](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39260)) - resource/aws_ecr_repository_policy: Fix retry logic handling eventual consistency of newly created IAM roles ([#39190](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39190)) - resource/aws_eks_cluster: Return `created_at` as an [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) formatted timestamp ([#24183](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/24183)) - resource/aws_iam_role: Fix to reduce Terraform reporting differences when a role's ARN temporarily appears as the role's unique ID ([#36794](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36794)) - resource/aws_networkfirewall_tls_inspection_configuration: Fix issue where `check_certificate_revovation_status` is ignored due to bad autoflex field mapping ([#39211](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39211)) - resource/aws_networkmonitor_monitor: Fixes error when optional attribute `aggregation_period` not set. ([#39279](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39279)) - resource/aws_quicksight_data_set: Change `permissions.actions` `MaxItems` from `16` to `20`. This fixes a regression introduced in [v5.66.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5660-september--5-2024) ([#39226](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39226)) - resource/aws_quicksight_vpc_connection: Remove `vpc_connection_id` regular expression validator. This fixes a regression introduced in [v5.66.0](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#5660-september--5-2024) ([#39231](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39231)) - resource/aws_sagemaker_domain: Fix update for `default_user_settings.domain_settings` to include missing `security_group_ids` and `r_studio_server_pro_domain_settings` values ([#35416](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/35416)) - resource/aws_sesv2\_configuration_set: Allow `suppression_options.suppressed_reasons` to be an empty list (`[]`) in order to disable the suppression list ([#29671](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/29671)) - resource/aws_sesv2\_configuration_set_event_destination: Change `event_destination.matching_event_types` from `TypeList` to `TypeSet` as order is not significant ([#36897](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/36897)) - resource/aws_verifiedaccess_endpoint: fix crash when updating `load_balancer_options.subnet_ids` ([#39196](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39196)) ### [`v5.66.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5660-September-5-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.65.0...v5.66.0) FEATURES: - **New Data Source:** `aws_glue_registry` ([#37953](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37953)) - **New Data Source:** `aws_organizations_organizational_unit_descendant_organizational_units` ([#39120](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39120)) - **New Data Source:** `aws_quicksight_analysis` ([#31737](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31737)) - **New Resource:** `aws_datazone_environment` ([#38811](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38811)) ENHANCEMENTS: - data-source/aws_sns_topic: Add `tags` attribute ([#38959](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38959)) - data-source/aws_transfer_server: Add `tags` attribute ([#39092](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39092)) - resource/aws_appsync_graphql_api: Add `api_type` and `merged_api_execution_role_arn` arguments ([#39159](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39159)) - resource/aws_bedrockagent_data_source: Add `vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration`, `vector_ingestion_configuration.chunking_configuration.hierarchical_chunking_configuration`, and `vector_ingestion_configuration.parsing_configuration` configuration blocks ([#39138](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39138)) - resource/aws_datazone_domain: Add `skip_deletion_protection` attribute ([#38811](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38811)) - resource/aws_docdbelastic_cluster: Add `backup_retention_period` and `preferred_backup_window` attributes ([#38452](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38452)) - resource/aws_quicksight_data_source: Add `parameters.databricks` argument ([#31737](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/31737)) - resource/aws_rolesanywhere_trust_anchor: Add `notification_settings` argument ([#39108](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39108)) - resource/aws_sagemaker_endpoint: Increase Create and Update `InService` timeouts to 60 minutes ([#39090](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39090)) - resource/aws_wafv2\_rule_group: Reduce `rate_based_statement.limit` minimum from `100` to `10` ([#39107](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39107)) - resource/aws_wafv2\_web_acl: Reduce `rate_based_statement.limit` minimum from `100` to `10` ([#39107](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39107)) BUG FIXES: - data-source/aws_networkmanager_core_network_policy_document: Change `segment_actions.via.with_edge_override.use_edge` to be nested set of edges, matching JSON ([#39142](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39142)) - data-source/aws_networkmanager_core_network_policy_document: Deprecate `segment_actions.via.with_edge_override.use_edge`. Use `segment_actions.via.with_edge_override.use_edge_location` instead ([#39142](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39142)) - many resources: Fixes perpetual diff when tag has a `null` value. ([#38869](https://redirect.githConfiguration
📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" in timezone America/Lima, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.