Releases: hashicorp/terraform-provider-aws
Releases · hashicorp/terraform-provider-aws
v5.75.0
BREAKING CHANGES:
- resource/aws_api_gateway_stage: Add
canary_settings.deployment_idattribute asrequired(#39929)
NOTES:
- provider: validation of arguments implementing the custom
ARNTypewill properly surface validation errors (#40008) - resource/aws_api_gateway_stage:
deployment_idwas added tocanary_settingsas arequiredattribute. This breaking change was necessary to makecanary_settingsfunctional. Without this change all canary traffic was routed to the main deployment (#39929)
FEATURES:
- New Data Source:
aws_spot_datafeed_subscription(#39647)
ENHANCEMENTS:
- data-source/aws_batch_job_definition: Add
init_containers,share_process_namespace, andimage_pull_secretsattributes (#40019) - resource/aws_batch_job_definition: Add
init_containersandshare_process_namespacearguments (#40019) - resource/aws_batch_job_definition: Increase maximum number of
containersarguments to 10 (#40019) - resource/aws_eks_addon: Add
pod_identity_associationargument (#38357) - resource/aws_iam_user_login_profile: Mark the
passwordargument as sensitive (#39991)
BUG FIXES:
- resource/aws_api_gateway_deployment: Fix destroy error when canary stage still exists on resource (#39929)
- resource/aws_codedeploy_deployment_group: Remove maximum items limit on the
alarm_configuration.alarmsargument (#39971) - resource/aws_eks_addon: Handle
ResourceNotFoundexceptions during resource destruction (#38357) - resource/aws_elasticache_reserved_cache_node: Fix
Value Conversion Errorduring resource creation (#39945) - resource/aws_lb_listener: Fix errors when updating the
tcp_idle_timeout_secondsargument for gateway load balancers (#40039) - resource/aws_lb_listener: Remove the default
tcp_idle_timeout_secondsvalue, preventingModifyListenerAttributesAPI calls when a value is not explicitly configured (#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)
v5.74.0
FEATURES:
- New Data Source:
aws_lb_listener_rule(#39865) - New Resource:
aws_opensearch_authorize_vpc_endpoint_access(#39846) - New Resource:
aws_ssmquicksetup_configuration_manager(#39931)
ENHANCEMENTS:
- data-source/aws_imagebuilder_distribution_configuration: Add
distribution.s3_export_configurationattribute (#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) - resource/aws_codedeploy_deployment_group: Add
termination_hook_enabledargument (#35482) - resource/aws_eks_cluster: Add
zonal_shift_configargument (#39852) - resource/aws_imagebuilder_distribution_configuration: Add
distribution.s3_export_configurationargument (#35492) - resource/aws_imagebuilder_image_pipeline: Allow
container_recipe_arnandimage_recipe_arnto be updated in-place (#39117) - resource/aws_keyspaces_keyspace: Add
replication_specificationargument (#36331) - resource/aws_launch_template: Add
efa-onlyas a valid value fornetwork_interfaces.interface_type(#39882) - resource/aws_transfer_server: Add
TransferSecurityPolicy-Restricted-2024-06as a valid value forsecurity_policy_name(#39871)
BUG FIXES:
- resource/aws_docdb_cluster: Use
master_passwordon resource Create whensnapshot_identifieris configured (#38193) - resource/aws_imagebuilder_container_recipe: Change
component.parameter.name,component.parameter.value,target_repository.repository_name, andtarget_repository.serviceto ForceNew (#39117) - resource/aws_route53_record: Fix
interface conversion: interface {} is nil, not map[string]interface {}panic whengeolocation_routing_policyis empty (#39944) - resource/aws_ssm_patch_baseline: Update
approval_rule.approve_after_daysvalidation to allow a maximum value of360(#39949) - resource/aws_wafv2_web_acl: Fix
decoding JSON: unexpected end of JSON inputerrors when updating from usingrule_jsonto usingrule(#39283) - resource/aws_wafv2_web_acl: Fix unmarshal error for incompatible types in
rule_json(#39878)
v5.73.0
FEATURES:
- New Data Source:
aws_ssm_patch_baselines(#39779) - New Resource:
aws_imagebuilder_lifecycle_policy(#35674) - New Resource:
aws_resiliencehub_resiliency_policy(#38913) - New Resource:
aws_sagemaker_hub(#39807) - New Resource:
aws_sagemaker_mlflow_tracking_server(#39796)
ENHANCEMENTS:
- data-source/aws_elasticache_reserved_cache_node_offering: Support
valkeyas valid value forproduct_description(#39745) - data-source/aws_lakeformation_data_lake_settings: Add
parametersmap attribute to readCROSS_ACCOUNT_VERSION(#39826) - data-source/aws_lb: Add
enable_zonal_shiftattribute (#39585) - resource/aws_apprunner_auto_scaling_configuration_version: Remove the upper limit on
min_sizeandmax_size(#39843) - resource/aws_batch_job_definition: Ensure that new revisions are created with tags (#39797)
- resource/aws_codedeploy_deployment_config: Add
zonal_configargument (#34850) - resource/aws_dynamodb_kinesis_streaming_destination: Add
approximate_creation_date_time_precisionargument (#38098) - resource/aws_elasticache_cluster: Support
valkeyas valid value forengine(#39745) - resource/aws_elasticache_global_replication_group: Support Valkey versions for
engine_version(#39745) - resource/aws_elasticache_replication_group: Support Valkey versions for
engine_version(#39745) - resource/aws_elasticache_replication_group: Support
valkeyas valid value forengine(#39745) - resource/aws_elasticache_serverless_cache: Support
valkeyas valid value forengine(#39745) - resource/aws_kinesis_firehose_delivery_stream: Add
iceberg_configurationargument (#39844) - resource/aws_lakeformation_data_lake_settings: Add
parametersmap argument enablingCROSS_ACCOUNT_VERSIONto be set (#39826) - resource/aws_lb: Add
enable_zonal_shiftargument (#39585) - resource/aws_lb_listener: Add
tcp_idle_timeout_secondsargument (#39585) - resource/aws_route53profiles_association: Add regex and string length validation for
nameargument (#39798) - resource/aws_s3_bucket_object: Remove the call to
kms:DescribeKeyfor the S3 default AWS managed key (alias/aws/s3) on Read (#39782) - resource/aws_s3_object: Remove the call to
kms:DescribeKeyfor the S3 default AWS managed key (alias/aws/s3) on Read (#39782) - resource/aws_s3_object_copy: Remove the call to
kms:DescribeKeyfor the S3 default AWS managed key (alias/aws/s3) on Read (#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, andtag_propagationarguments (#39774) - resource/aws_sagemaker_domain: Allow
app_network_access_typeandapp_security_group_managementto be updated in-place (#39774) - resource/aws_sagemaker_feature_group: Add
feature_definition.collection_config,feature_definition.collection_type, andthroughput_configarguments (#39805) - resource/aws_sagemaker_space: Add
space_settings.code_editor_app_settings.app_lifecycle_managementandspace_settings.jupyter_lab_app_settings.app_lifecycle_managementarguments (#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_settingsanduser_settings.studio_web_portal_settings.hidden_instance_typesarguments (#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 causingmultiple WorkSpaces Bundles matched; use additional constraints to reduce matches to a single WorkSpaces Bundleerrors (#39777) - resource/aws_dynamodb_table: Fix validation error when optional attribute in
on_demand_throughputis excluded (#39784) - resource/aws_ecr_repository_policy: Fix persistent validation errors when malformed
policycontent is written to state (#39842) - resource/aws_elasticache_serverless_cache: Fix
InvalidParameterValue: This API supports only cross-engine upgrades to Valkey engine currentlyerrors on Update (#39745) - resource/aws_iam_policy: Fix persistent validation errors when malformed
policycontent is written to state (#39842) - resource/aws_iam_role_policy: Fix persistent validation errors when malformed
policycontent is written to state (#39842) - resource/aws_kms_key: Fix persistent validation errors when malformed
policycontent is written to state (#39842) - resource/aws_quicksight_data_set: Fix
InvalidParameterValueException: Invalid RowLevelPermissionDataSet. Namespace parameter should not be specified for Version 2errors on Create and Update (#39778) - resource/aws_route53_record: Allow creation of records with
ttl=0(#39728) - resource/aws_s3_bucket_policy: Fix persistent validation errors when malformed
policycontent is written to state (#39842) - resource/aws_secretsmanager_secret: Fix persistent validation errors when malformed
policycontent is written to state (#39842) - resource/aws_security_group_rule: Remove from state when rule not found. This fixes a regression introduced in v5.60.0 (#39834)
v5.72.1
FEATURES:
- New Resource:
aws_iam_group_policy_attachments_exclusive(#39732) - New Resource:
aws_iam_user_policy_attachments_exclusive(#39731)
ENHANCEMENTS:
- resource/aws_resourceexplorer2_view: Add
scopeargument (#39744)
BUG FIXES:
- data-source/aws_batch_job_definition: Properly handles ignored tags. (#39734)
- data-source/aws_cognito_user_pool: Properly handles ignored tags. (#39734)
- resource/aws_cognito_user_pool: Properly handles ignored tags. (#39734)
- resource/aws_dynamodb_table: Fix crash when
billing_modeis set toPAY_PER_REQUESTwithoutglobal_secondary_indexupdates (#39752) - resource/aws_dynamodb_table_replica: Properly handles default and ignored tags. (#39734)
- resource/aws_resourceexplorer2_index: Correctly mark incomplete
AGGREGATORindexes as tainted on Create (#39744)
v5.72.0
NOTES:
- This version contains all the features, enhancements, and bug fixes from the v5.71.0 release which was removed from the Terraform Registry (#39692)
- resource/aws_iam_role: The
managed_policy_arnsargument is deprecated. Use theaws_iam_role_policy_attachments_exclusiveresource instead. (#39718)
FEATURES:
- New Resource:
aws_iam_role_policy_attachments_exclusive(#39718)
ENHANCEMENTS:
- data-source/aws_workspaces_directory: Add
saml_propertiesattribute (#39060) - resource/aws_appflow_flow: Add
source_flow_config.source_connector_properties.sapo_data.pagination_configandsource_flow_config.source_connector_properties.sapo_data.parallelism_configattributes (#38932) - resource/aws_cloudwatch_event_rule: Add tags to AWS API request on Update to support ABAC
aws:RequestTagconditions (#39648) - resource/aws_cloudwatch_event_target: Add
appsync_targetconfiguration block (#37773) - resource/aws_dynamodb_table: Add
on_demand_throughputandglobal_secondary_index.on_demand_throughputarguments (#37799) -
- resource/aws_lakeformation_permissions: Allow
principalto be an AWS federated-user arn (#33298)
- resource/aws_lakeformation_permissions: Allow
- resource/aws_rds_cluster: Increase maximum value of
serverlessv2_scaling_configuration.max_capacityandserverlessv2_scaling_configuration.min_capacityfrom128to256(#39697) - resource/aws_rds_cluster_instance: Treat
storage-optimizationstatus as success when creating or updating cluster DB instances (#39691) - resource/aws_workspaces_directory: Add
saml_propertiesconfiguration block (#39060)
BUG FIXES:
v5.71.0DONOTUSE
This Terraform AWS Provider version has been removed from the Terraform Registry due to archive has incorrect checksum errors while installing the provider on some platforms.
The next planned Terraform AWS Provider release is v5.72.0, scheduled for the morning (EST) of October 17, 2024.
FEATURES:
- New Data Source:
aws_bedrock_inference_profile(#39342) - New Data Source:
aws_bedrock_inference_profiles(#39342) - New Data Source:
aws_elasticache_serverless_cache(#39590) - New Data Source:
aws_prometheus_default_scraper_configuration(#35280) - New Data Source:
aws_route53profiles_profiles(#38172) - New Resource:
aws_backup_restore_testing_plan(#37039) - New Resource:
aws_backup_restore_testing_selection(#37039) - New Resource:
aws_datazone_user_profile(#38810) - New Resource:
aws_pinpointsmsvoicev2_configuration_set(#39620) - New Resource:
aws_route53profiles_association(#38172) - New Resource:
aws_route53profiles_profile(#38172) - New Resource:
aws_route53profiles_resource_association(#38172)
ENHANCEMENTS:
- data-source/aws_backup_plan: Add
rule.schedule_expression_timezoneattribute (#33653) - data-source/aws_eip: Add
ipam_pool_idattribute (#39604) - data-source/aws_vpc_endpoint_service: Add
private_dns_namesattribute (#39659) - resource/aws_backup_plan: Add
rule.schedule_expression_timezoneargument (#33653) - resource/aws_batch_compute_environment: Add plan-time validation of
update_policy.job_execution_timeout_minutes(#39583) - resource/aws_batch_job_definition: Suppress unnecessary differences in
container_properties.environment(#21834) - resource/aws_eip: Add
ipam_pool_idargument in support of public IPAM pools (#39604) - resource/aws_route53_resolver_endpoint: Add
resolver_endpoint_typeargument
resource/aws_route53_resolver_rule: Addipv6optional argument to thetarget_ipobject (#30167) - resource/aws_vpc_ipam: Add
enable_private_guaargument (#39600) - resource/aws_vpc_ipv6_cidr_block_association: Add
ip_sourceandipv6_address_attributeattributes (#39600)
BUG FIXES:
- resource/aws_backup_vault: Fix
empty resulterrors reading vaults in certain Regions (#39670) - resource/aws_elasticache_replication_group: Fix
security_group_namescausing resource replacement after import (#39591) - resource/aws_instance: Fixed issues with
volume_tags,root_block_device.*.tags, andebs_block_device.*.tagswhere tags overlapped with default tags. These are now handled consistently with top-level tags throughout the provider. Specifically, tags defined in both locations are no longer removed, preventing erroneous differences. (#37441) - resource/aws_sagemaker_workteam: Mark
workforce_nameas Optional (#39630) - resource/aws_securityhub_automation_rule: Increase
criteria.aws_account_id,criteria.generator_id,criteria.resource_id, andcriteria.titlemax length from20to100(#39616) - resource/aws_vpc_ipam_pool: Change
publicly_advertisableto ForceNew (#39600) - resource/aws_vpc_ipam_pool: Fix
InvalidParameterCombination: The request can only contain PubliclyAdvertisable if the AddressFamily is IPv6 and PublicIpSource is byoiperrors (#39600)
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)
- resource/aws_simpledb_domain: The
aws_simpledb_domainresource has been deprecated and will be removed in a future version. Use Amazon DynamoDB instead (#39536) - resource/aws_worklink_fleet: The
aws_worklink_fleetresource has been deprecated and will be removed in a future version. Use Amazon WorkSpaces Secure Browser instead (#39538) - resource/aws_worklink_website_certificate_authority_association: The
aws_worklink_website_certificate_authority_associationresource has been deprecated and will be removed in a future version. Use Amazon WorkSpaces Secure Browser instead (#39538)
FEATURES:
- New Resource:
aws_backup_logically_air_gapped_vault(#39098) - New Resource:
aws_ec2_transit_gateway_default_route_table_association(#39496) - New Resource:
aws_ec2_transit_gateway_default_route_table_propagation(#39517) - New Resource:
aws_iam_group_policies_exclusive(#39554) - New Resource:
aws_iam_user_policies_exclusive(#39544) - New Resource:
aws_securityhub_standards_control_association(#39511)
ENHANCEMENTS:
- data-source/aws_ebs_snapshot: Add
start_timeattribute (#39557) - resource/aws_bedrockagent_agent_action_group: Add
prepare_agentargument (#39486) - resource/aws_bedrockagent_data_source: Add
vector_ingestion_configuration.custom_transformation_configurationargument (#39556) - resource/aws_globalaccelerator_endpoint_group: Add
endpoint_configuration.attachment_arnargument (#39507) - resource/aws_lambda_code_signing_config: Add
tagsargument andtags_allattribute (#39535) - resource/aws_lambda_event_source_mapping: Add
arnattribute (#39535) - resource/aws_lambda_event_source_mapping: Add
tagsargument andtags_allattribute (#39535) - resource/aws_s3_bucket_lifecycle_configuration: Add
transition_default_minimum_object_sizeargument (#39578)
BUG FIXES:
- resource/aws_bedrockagent_agent: Fix "Provider produced inconsistent result after apply" error on update due to
customer_encryption_key_arnnot being passed during update (#39565) - resource/aws_bedrockagent_agent: Fix "Provider produced inconsistent result after apply" error on update due to
prompt_override_configurationnot being passed when not modified (#39565) - resource/aws_bedrockagent_knowledge_base: Change
knowledge_base_configurationandstorage_configurationto ForceNew (#39567) - resource/aws_ec2_transit_gateway_vpc_attachment: Remove default value for
security_group_referencing_supportargument and mark as Computed. This suppresses the diffs shown for resources created with v5.68.0 (or earlier) (#39519) - resource/aws_opensearchserverless_lifecycle_policy: Fix "Provider produced inconsistent result after apply" error on update due to
policy_versioncomputed attribute changing (#39528) - resource/aws_opensearchserverless_security_policy: Fix "Provider produced inconsistent result after apply" error on update due to
policy_versioncomputed attribute changing (#39528) - resource/aws_quicksight_dashboard: Fix mapping of
sheets.filter_controls.list.cascading_control_configurationandsheets.parameter_controls.list.cascading_control_configurationattributes (#39453)
v5.69.0
NOTES:
- provider: This release contains an upstream AWS SDK for Go v2 change to DynamoDB service endpoints. The Terraform AWS Provider will now connect to a DynamoDB endpoint in the format
(account-id).ddb.(region).amazonaws.cominstead ofdynamodb.(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 settingaccount_id_endpoint_mode = disabledin a shared config file or setting theAWS_ACCOUNT_ID_ENDPOINT_MODEenvironment variable todisabled(#39505) - provider: Updates to Go
1.23.1. The issue with AWS Network Firewall dropping TLS handshakeClientHellomessages after the v5.65.0 upgrade to Go1.23.0, temporarily resolved by the v5.67.0 downgrade to Go1.22.7, has been addressed by removing theX25519Kyber768Draft00key exchange mechanism from the HTTP client used to make AWS API calls (#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)
- 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)
ENHANCEMENTS:
- data-source/aws_connect_instance: Add
tagsattribute (#39402) - data-source/aws_ec2_transit_gateway: Add
security_group_referencing_supportattribute (#34542) - data-source/aws_ec2_transit_gateway_vpc_attachment: Add
security_group_referencing_supportattribute (#34542) - data-source/aws_opensearchserverless_collection: Add
failure_codeandfailure_reasonattributes (#38995) - resource/aws_bedrockagent_agent: Add
guardrail_configurationargument (#39440) - resource/aws_connect_instance: Add
tagsargument andtags_allattribute (#39402) - resource/aws_ec2_transit_gateway: Add
security_group_referencing_supportargument (#34542) - resource/aws_ec2_transit_gateway_vpc_attachment: Add
security_group_referencing_supportargument (#34542) - resource/aws_ec2_transit_gateway_vpc_attachment_accepter: Add
security_group_referencing_supportargument (#34542) - resource/aws_ecs_service: Add
volume_configuration.managed_ebs_volume.tag_specificationsattribute (#38662) - resource/aws_identitystore_group: Allow
display_nameto be updated in-place (#39416) - resource/aws_kinesis_stream: Tag on Create to support attribute-based access control (ABAC) (#39504)
- resource/aws_quicksight_data_source: Add
credentials.secret_arnargument (#29034)
BUG FIXES:
- data-source/aws_opensearchserverless_vpc_endpoint: Correctly set
security_group_ids. This requires a call to the EC2DescribeVpcEndpointsAPI (#39454) - data-source/aws_region: Fix lookups for the
ap-southeast-5Region (#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)
- 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)
- resource/aws_db_instance: Allow replica database to be added to domain on create (#39448)
- resource/aws_db_instance_role_association: Fix intermittent failure when instance is not in an available state (#39457)
- resource/aws_dynamodb_tag: Fix propagation timeout when multiple tags exist (#39491)
- resource/aws_ecs_cluster: Fix validation error with
nameattribute. (#38993) - resource/aws_ecs_cluster_capacity_providers: Fix validation error with
nameattribute. (#38993) - resource/aws_iam_role: Retry
ConcurrentModificationExceptions during role creation (#39429) - resource/aws_inspector2_enabler: Fix
AccessDeniedException: Lambda code scanning is not supported in ...errors (#38254) - resource/aws_inspector2_member_association: Improve handling of
AccessDeniedExceptionerrors during creation (#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)
- 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)
- 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)
- 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)
- resource/aws_medialive_multiplex: Fix to properly handle read failures during delete operations which were previously ignored (#39498)
- resource/aws_opensearchserverless_vpc_endpoint: Change
nameandvpc_idto ForceNew (#39454) - resource/aws_opensearchserverless_vpc_endpoint: Correctly set
security_group_ids. This requires a call to the EC2DescribeVpcEndpointsAPI (#39454) - resource/aws_rds_cluster_role_association: Fix intermittent failure when cluster is not in an available state (#39457)
- resource/aws_vpc_dhcp_options: Fix a bug causing a panic crash when an option is absent (#39427)
v5.68.0
NOTES:
- resource/aws_iam_role: The
inline_policyargument is deprecated. Use theaws_iam_role_policyresource instead. If Terraform should exclusively manage all inline policy associations (the current behavior of this argument), use theaws_iam_role_policies_exclusiveresource as well. (#39203) - resource/aws_lexv2models_slot_type: Within the
composite_slot_type_settingblock, thesubslotsargument has been renamedsub_slots. See the linked pull request 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)
FEATURES:
- New Data Source:
aws_elasticache_reserved_cache_node_offering(#29832) - New Data Source:
aws_securityhub_standards_control_associations(#39334) - New Data Source:
aws_synthetics_runtime_version(#39180) - New Data Source:
aws_synthetics_runtime_versions(#39180) - New Resource:
aws_appsync_source_api_association(#39323) - New Resource:
aws_elasticache_reserved_cache_node(#29832) - New Resource:
aws_iam_role_policies_exclusive(#39203) - New Resource:
aws_pinpointsmsvoicev2_opt_out_list(#25036) - New Resource:
aws_pinpointsmsvoicev2_phone_number(#25036) - New Resource:
aws_sesv2_account_suppression_attributes(#39325)
ENHANCEMENTS:
- resource/aws_s3_bucket_server_side_encryption_configuration: S3 directory buckets now support SSE-KMS (#39366)
- resource/aws_ses_receipt_rule: Add
iam_role_arnargument tos3_actionconfiguration block (#39364) - resource/aws_synthetics_canary: Increase maximum
namelength to 255 characters (#39315)
BUG FIXES:
- provider: Allows
assume_role.role_arnto be an empty string when there is a singleassume_roleentry. (#39328) - resource/aws_amplify_app: Fix failure when unsetting the
environment_variablesargument (#39397) - resource/aws_dynamodb_table: Fix changing replicas to the default
Managed by DynamoDBencryption setting (#31284) - resource/aws_dynamodb_table: Handle eventual consistency of tag creation and removal (#39326)
- resource/aws_dynamodb_table_replica: Handle eventual consistency of tag creation and removal (#39326)
- resource/aws_dynamodb_tag: Handle eventual consistency of tag creation and removal (#39326)
- resource/aws_mq_broker: Fix
engine_versionmismatch with RabbitMQ 3.13 and ActiveMQ 5.18 and above (#39024) - resource/aws_mwaa_environment: Fix creating environments with
endpoint_management = "CUSTOMER"(#39394) - resource/aws_opensearchserverless_access_policy: Fix incompatible type error when setting
policy(#39322)
v5.67.0
BREAKING CHANGES:
- resource/aws_lexv2models_slot_type: Within the
value_selection_setting.advanced_recognition_settingblock, theaudio_recognition_settingargument has been renamedaudio_recognition_strategy(#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 Go1.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 Go1.22.6for 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) - resource/aws_lexv2models_slot_type: Within the
value_selection_setting.advanced_recognition_settingblock, theaudio_recognition_settingargument has been renamedaudio_recognition_strategy. See the linked pull request 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)
FEATURES:
- New Data Source:
aws_codebuild_fleet(#39237) - New Resource:
aws_cloudformation_stack_instances(#36794) - New Resource:
aws_codebuild_fleet(#39237) - New Resource:
aws_computeoptimizer_enrollment_status(#35349) - New Resource:
aws_computeoptimizer_recommendation_preferences(#35349) - New Resource:
aws_costoptimizationhub_enrollment_status(#36440) - New Resource:
aws_costoptimizationhub_preferences(#36526) - New Resource:
aws_datazone_asset_type(#38812) - New Resource:
aws_datazone_environment_profile(#38581) - New Resource:
aws_lambda_function_recursion_config(#39153)
ENHANCEMENTS:
- data-source/aws_acm_certificate: Mark
domainandtagsas Optional. This enables certificates to be matched based on tags (#31453) - data-source/aws_kinesis_stream: Add
encryption_typeandkms_key_idattributes (#39212) - datasource/aws_cognito_user_pool: Deprecates
user_pool_tagsin favor of standardtags. (#39260) - provider: Adds support for IAM role chaining. The provider attribute
assume_rolenow accepts multiple elements. (#39255) - resource/aws_amplify_app: Add
cache_configargument (#39215) - resource/aws_cloudhsm_v2_cluster: Add
modeargument (#39206) - resource/aws_cloudhsm_v2_cluster: Support
hsm2m.mediumas a valid value forhsm_type(#39206) - resource/aws_codebuild_project: Add
fleetattribute inenvironmentconfiguration block (#39237) - resource/aws_kinesis_firehose_delivery_stream: Add
snowflake_configuration.buffering_internalandsnowflake_configuration.buffering_sizearguments (#39214) - resource/aws_quicksight_user: Add
READER_PRO,AUTHOR_PRO, andADMIN_PROas valid values for theuser_roleargument (#39220) - resource/aws_sagemaker_domain: Add
default_user_settings.domain_settings.docker_settingsconfiguration block (#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, anddefault_space_settings.custom_file_system_configconfiguration blocks (#38457) - resource/aws_sagemaker_endpoint_configuration: Add
production_variants.managed_instance_scalingandshadow_production_variants.managed_instance_scalingconfiguration blocks (#35479) - resource/aws_sagemaker_model: Add
primary_container.inference_specification_nameandcontainer.inference_specification_namearguments (#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) - resource/aws_sagemaker_user_profile: Add
user_settings.studio_web_portal_settingsconfiguration block (#38567) - resource/aws_sfn_state_machine: Add plan-time validation of
definitionusing the AWS Step Functions Validation API (#39229)
BUG FIXES:
- data-source/aws_eks_cluster: Return
created_atas an RFC3339 formatted timestamp (#24183) - datasource/aws_cognito_user_pool: Fixes value conversion error. (#39260)
- provider: Fix empty tags drift on fwprovider resources (#38636)
- resource/aws_batch_job_queue: Fixes error in schema migration function. (#39257)
- resource/aws_cognito_user_pool: Correctly unsets tags. (#39260)
- resource/aws_ecr_repository_policy: Fix retry logic handling eventual consistency of newly created IAM roles (#39190)
- resource/aws_eks_cluster: Return
created_atas an RFC3339 formatted timestamp (#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)
- resource/aws_networkfirewall_tls_inspection_configuration: Fix issue where
check_certificate_revovation_statusis ignored due to bad autoflex field mapping (#39211) - resource/aws_networkmonitor_monitor: Fixes error when optional attribute
aggregation_periodnot set. (#39279) - resource/aws_quicksight_data_set: Change
permissions.actionsMaxItemsfrom16to20. This fixes a regression introduced in v5.66.0 (#39226) - resource/aws_quicksight_vpc_connection: Remove
vpc_connection_idregular expression validator. This fixes a regression introduced in v5.66.0 (#39231) - resource/aws_sagemaker_domain: Fix update for
default_user_settings.domain_settingsto include missingsecurity_group_idsandr_studio_server_pro_domain_settingsvalues (#35416) - resource/aws_sesv2_configuration_set: Allow
suppression_options.suppressed_reasonsto be an empty list ([]) in order to disable the suppression list (#29671) - resource/aws_sesv2_configuration_set_event_destination: Change
event_destination.matching_event_typesfromTypeListtoTypeSetas order is not significant (#36897) - resource/aws_verifiedaccess_endpoint: fix crash when updating
load_balancer_options.subnet_ids(#39196)