FEATURES
- New Data Source:
aws_ec2_managed_prefix_list
(#16738) - New Data Source:
aws_lakeformation_data_lake_settings
(#13250) - New Data Source:
aws_lakeformation_permissions
(#13396) - New Data Source:
aws_lakeformation_resource
(#13396) - New Resource:
aws_codestarconnections_connection
(#15990) - New Resource:
aws_ec2_managed_prefix_list
(#14068) - New Resource:
aws_lakeformation_data_lake_settings
(#13250) - New Resource:
aws_lakeformation_permissions
(#13396) - New Resource:
aws_lakeformation_resource
(#13267)
ENHANCEMENTS
- data-source/aws_autoscaling_group: Adds
launch_template
attribute (#16297) - data-source/aws_availability_zone: Add
parent_zone_id
,parent_zone_name
, andzone_type
attributes (additional support for Local and Wavelength Zones) (#16770) - data-source/aws_eip: Add
carrier_ip
attribute (#16724) - data-source/aws_instance: Add
enclave_options
attribute (Nitro Enclaves) (#16361) - data-source/aws_instance: Add
ebs_block_device
androot_block_device
configuration blockthroughput
attribute (#16620) - data-source/aws_launch_configuration: Add
metadata_options
attribute (#14637) - data-source/aws_launch_template: Add
enclave_options
attribute (Nitro Enclaves) (#16361) - data-source/aws_network_interface: Add
association
carrier_ip
andcustomer_owned_ip
attributes (#16723) - resource/aws_autoscaling_group: Adds support for Instance Refresh (#16678)
- resource/aws_eip: Add
carrier_ip
attribute (#16724) - resource/aws_instance: Add
enclave_options
configuration block (Nitro Enclaves) (#16361) - resource/aws_instance: Add
ebs_block_device
androot_block_device
configuration blockthroughput
attribute (#16620) - resource/aws_kinesis_firehose_delivery_stream: Mark
http_endpoint_configuration
access_key
as sensitive (#16684) - resource/aws_launch_configuration: Add
metadata_options
configuration block (#14637) - resource/aws_launch_template: Add
enclave_options
configuration block (Nitro Enclaves) (#16361) - resource/aws_vpn_connection: Add support for VPN tunnel options and enable acceleration, DPDTimeoutAction, StartupAction, local/remote IPv4/IPv6 network CIDR and tunnel inside IP version. (#14740)
BUG FIXES
- data-source/aws_ec2_coip_pools: Ensure all results from large environments are returned (#16669)
- data-source/aws_ec2_local_gateways: Ensure all results from large environments are returned (#16669)
- data-source/aws_ec2_local_gateway_route_tables: Ensure all results from large environments are returned (#16669)
- data-source/aws_ec2_local_gateway_virtual_interface_groups: Ensure all results from large environments are returned (#16669)
- data-source/aws_prefix_list: Using
name
argument no longer overrides other arguments (#16739) - resource/aws_db_instance: Fix missing
db_subnet_group_name
in API request when usingrestore_to_point_in_time
(#16830) - resource/aws_eip_association: Handle eventual consistency when creating resource (#16808)
- resource/aws_main_route_table_association: Prevent crash on creation when VPC main route table association is not found (#16680)
- resource/aws_workspaces_workspace: Prevent panic from terminated WorkSpace (#16692)
NOTES
- resource/aws_imagebuilder_image_recipe: Previously the ordering of
component
configuration blocks was not properly handled by the resource, which could cause unexpected behavior with multiple Components. These configurations may see the ordering difference being fixed after upgrade. (#16566)
FEATURES
ENHANCEMENTS
- data-source/aws_launch_template: Add
associate_carrier_ip_address
attribute tonetwork_interfaces
configuration block (#16707) - data-source/aws_launch_template: Add
throughput
attribute toblock_device_mappings.ebs
configuration block (#16649) - data-source/aws_launch_template: Support
id
as argument (#16457) - resource/aws_appmesh_virtual_node: Add
listener.connection_pool
attribute (#16167) - resource/aws_appmesh_virtual_node: Add
listener.outlier_detection
attribute (#16167) - resource/aws_launch_template: Add
associate_carrier_ip_address
attribute tonetwork_interfaces
configuration block (#16707) - resource/aws_launch_template: Add
throughput
attribute toblock_device_mappings.ebs
configuration block (#16649) - resource/aws_spot_fleet_request: Add
throughput
attribute tolaunch_specification.ebs_block_device
andlaunch_specification.root_block_device
configuration blocks (#16652) - resource/aws_ssm_maintenance_window: Add
schedule_offset
argument (#16569) - resource/aws_workspaces_workspace: Add failed request error code along with message (#16459)
BUG FIXES
- data-source/aws_customer_gateway: Prevent missing
id
attribute when not configured as argument (#16667) - data-source/aws_ec2_transit_gateway: Prevent missing
id
attribute when not configured as argument (#16667) - data-source/aws_ec2_transit_gateway_peering_attachment: Prevent missing
id
attribute when not configured as argument (#16667) - data-source/aws_ec2_transit_gateway_route_table: Prevent missing
id
attribute when not configured as argument (#16667) - data-source/aws_ec2_transit_gateway_vpc_attachment: Prevent missing
id
attribute when not configured as argument (#16667) - data-source/aws_guardduty_detector: Prevent missing
id
attribute when not configured as argument (#16667) - data-source/aws_imagebuilder_image_recipe: Ensure proper ordering of
component
attribute (#16566) - resource/aws_backup_plan: Prevent plan-time validation error for pre-existing resources with
lifecycle
delete_after
and/orcopy_action
lifecycle
delete_after
arguments configured (#16605) - resource/aws_imagebuilder_image_recipe: Ensure proper ordering of
component
configuration blocks (#16566) - resource/aws_workspaces_directory: Fix empty custom_security_group_id & default_ou (#16589)
ENHANCEMENTS
- resource/aws_backup_plan: Add plan-time validation for various arguments (#16476)
- resource/aws_eks_node_group: Make
capacity_type
aComputed
attribute (#16552) - resource/aws_lambda_event_source_mapping: Add support for updating
maximum_batching_window_in_seconds
for SQS queue event sources (#16518) - resource/aws_ssm_maintenance_window_target: Add plan-time validation for
owner_information
andtargets
arguments (#16478) - resource/aws_storagegateway_gateway - add
timeout_in_seconds
,organizational_unit
,domain_controllers
arguments forsmb_active_directory_settings
block. (#16472) - resource/aws_storagegateway_gateway - add
smb_active_directory_settings. active_directory_status
,ec2_instance_id
,endpoint_type
,host_environment
, andgateway_network_interface
attributes. (#16472) - resource/aws_storagegateway_gateway - add plan time validations for
smb_guest_password
,smb_active_directory_settings. username
,smb_active_directory_settings. password
,smb_active_directory_settings. domain_name
,gateway_timezone
, andgateway_name
. (#16472) - resource/aws_storagegateway_gateway - add support for
medium_changer_type
valuemedium_changer_type
. (#16472)
BUG FIXES
- resource/aws_backup_plan: Retry on eventual consistency error during deletion (#16476)
- resource/aws_cloudwatch_event_target: Prevent potential panic and prevent recreation after state upgrade with custom
event_bus_name
value (#16484) - resource/aws_ec2_client_vpn_network_association: Increase associate and disassociate timeouts from 10min to 30min (#16522)
- resource/aws_instance: Automatically retry instance restart on eventual consistency error during
instance_type
in-place update (#16443) - resource/aws_lambda_function: Prevent error during deletion when resource not found (#16183)
- resource/aws_ssm_maintenance_window_target: Remove from state if not found (#16478)
FEATURES
- New Data Source:
aws_glue_registry
(#16418)
ENHANCEMENTS
- resource/aws_apigatewayv2_domain_name: Add
mutual_tls_authentication
attribute to support mutual TLS authentication (#15249) - resource/aws_appmesh_virtual_gateway: Add
listener.connection_pool
attribute (#16168) - data-source/aws_eks_cluster: add
kubernetes_network_config
attribute (#15518) - resource/aws_storagegateway_smb_file_share - add support for
notification_policy
andaccess_based_enumeration
. (#16414) - resource/aws_storagegateway_smb_file_share - add plan time validation to
invalid_user_list
andvalid_user_list
. (#16414) - resource/aws_cognito_user_pool: add support for account recovery setting. (#12444)
- resource/aws_eks_cluster: add
kubernetes_network_config
argument (#15518) - resource/aws_eks_node_group: Add
capacity_type
argument and support multipleinstance_types
(Support Spot Node Groups) (#16510) - resource/aws_lambda_function: Add support for Container Images (#16512)
BUG FIXES
- resource/aws_fsx_windows_file_system: Prevent potential panics, unexpected errors, and use correct operation timeout on update (#16488)
FEATURES
- New Data Source:
aws_imagebuilder_image_pipeline
(#16299) - New Data Source:
aws_imagebuilder_image_recipe
(#16218) - New Data Source:
aws_serverlessrepository_application
(#15874) - New Resource:
aws_backup_region_settings
(#16114) - New Resource:
aws_imagebuilder_image_pipeline
(#16299) - New Resource:
aws_imagebuilder_image_recipe
(#16218) - New Resource:
aws_msk_scram_secret_association
(#15302) - New Resource:
aws_networkfirewall_resource_policy
(#16279) - New Resource:
aws_serverlessrepository_stack
(#15874)
ENHANCEMENTS
- data-source/aws_codeartifact_repository_endpoint: Support
nuget
value informat
argument plan-time validation (#16422) - data-source/aws_msk_cluster: Add
bootstrap_brokers_sasl_scram
attribute (#15302) - resource/aws_db_proxy_default_target_group: Make
connection_pool_config
optional (#16303) - resource/aws_kinesisanalyticsv2_application:
runtime_environment
now supportsFLINK-1_11
(#16389) - resource/aws_msk_cluster: Add
bootstrap_brokers_sasl_scram
attribute (#15302) - resource/aws_msk_cluster: Add
client_authentication
sasl
scram
argument (#15302) - resource/aws_networkfirewall_firewall: Add
firewall_status
attribute to expose VPC endpoints (#16399)
BUG FIXES
- data-source/aws_lambda_function: Prevent Lambda
GetFunctionCodeSigningConfig
API call error outside AWS Commercial regions (#16412) - resource/aws_cloudwatch_event_permission: Prevent
arn: invalid prefix
error during read in some environments (#16319) - resource/aws_kinesis_analytics_application: Respect the order of 'record_column' attributes (#16260)
- resource/aws_kinesisanalyticsv2_application: Respect the order of 'record_column' attributes (#16260)
- resource/aws_lambda_function: Prevent Lambda
GetFunctionCodeSigningConfig
API call error outside AWS Commercial regions (#16412) - resource/aws_lb_listener: Mark
port
argument as optional and only defaultprotocol
argument toHTTP
for Application Load Balancers (Support Gateway Load Balancer) (#16306) - resource/aws_securityhub_member: Prevent
invited
attribute updates due to recent API changes (#16404)
FEATURES
- New Data Source:
aws_lambda_code_signing_config
(#16384) - New Data Source:
aws_signer_signing_job
(#16383) - New Data Source:
aws_signer_signing_profile
(#16383) - New Resource:
aws_lambda_code_signing_config
(#16384) - New Resource:
aws_signer_signing_job
(#16383) - New Resource:
aws_signer_signing_profile
(#16383) - New Resource:
aws_signer_signing_profile_permission
(#16383)
ENHANCEMENTS
- data-source/aws_lambda_function: Add
code_signing_config_arn
,signing_profile_version_arn
, andsigning_job_arn
attributes (#16384) - data-source/aws_lambda_layer_version: Add
signing_profile_version_arn
andsigning_job_arn
attributes (#16384) - resource/aws_accessanalyzer_analyzer: Adds plan time validation to
analyzer_name
(#16265) - resource/aws_accessanalyzer_analyzer: Adds plan time validation to
analyzer_name
(#16265) - resource/aws_fsx_windows_file_system: Support updating
throughput_capacity
andstorage_capacity
(#15582) - resource/aws_glue_catalog_table: Add partition index support (#16194)
- resource/aws_lambda_function: Add
code_signing_config_arn
argument andsigning_profile_version_arn
andsigning_job_arn
attributes (#16384) - resource/aws_lambda_layer_version: Add
signing_profile_version_arn
andsigning_job_arn
attributes (#16384) - resource/aws_storagegateway_nfs_file_share: Add support for
notification_policy
. (#16340) - resource/aws_storagegateway_nfs_file_share: Add plan time validation for
client_list
,nfs_file_share_defaults. directory_mode
,nfs_file_share_defaults. file_mode
,nfs_file_share_defaults. group_id
,nfs_file_share_defaults. owner_id
(#16340) - resource/aws_workspaces_directory: Allows assigning IP group (#14451)
BUG FIXES
- resource/aws_fsx_windows_file_system: Update the default creation timeout from 30 to 45 minutes (#16363)
- resource/aws_lb: Fix
enable_cross_zone_load_balancing
argument handling with Gateway Load Balancers (#16314)
- New Data Source:
aws_imagebuilder_component
(#16159) - New Data Source:
aws_imagebuilder_distribution_configuration
(#16180) - New Data Source:
aws_imagebuilder_infrastructure_configuration
(#16186) - New Resource:
aws_api_gateway_rest_api_policy
(#13619) - New Resource:
aws_backup_vault_policy
(#16112) - New Resource:
aws_glue_dev_endpoint
(#7895) - New Resource:
aws_imagebuilder_component
(#16159) - New Resource:
aws_imagebuilder_distribution_configuration
(#16180) - New Resource:
aws_imagebuilder_infrastructure_configuration
(#16186) - New Resource:
aws_networkfirewall_firewall
(#16277) - New Resource:
aws_networkfirewall_firewall_policy
(#16277) - New Resource:
aws_networkfirewall_logging_configuration
(#16277) - New Resource:
aws_networkfirewall_rule_group
(#16277)
ENHANCEMENTS
- resource/aws_globalaccelerator_endpoint_group: Add
arn
andport_override
attributes (#16121) - resource/aws_glue_catalog_table: Add support for
parameters
argument tostorage_descriptor.columns
block (#16052) - resource/aws_glue_catalog_table: Add plan time validation for
description
,name
,partition_keys.name
,partition_keys.comment
,partition_keys.type
,retention
,view_original_text
,view_expanded_text
,storage_descriptor.name
,storage_descriptor.comment
,storage_descriptor.type
,storage_descriptor.bucket_columns
,storage_descriptor.ser_de_info.name
,storage_descriptor.skewed_info.skewed_column_names
,storage_descriptor.sort_columns.column
,storage_descriptor.sort_columns.sort_order
(#16052) - resource/aws_msk_cluster: Support in-place
kafka_version
upgrade (#13654) - resource/aws_storagegateway_smb_file_share: Add
file_share_name
argument (#16008) - resource_aws_storagegateway_nfs_file_share: Add
file_share_name
argument (#16072)
BUG FIXES
- data-source/aws_s3_bucket: Use provider credentials when getting the bucket region (fix AWS China non-ICP S3 Buckets and other restrictive environments) (#15481)
- resource/aws_apigatewayv2_stage: Correctly handle deletion of route_settings (#16133)
- resource/aws_backup_plan -
lifecycle
block incopy_action
is optional (#16116) - resource/aws_eks_fargate_profile: Serialize multiple profile creation and deletion to prevent
ResourceInUseException
errors (#14020) - resource/aws_organizations_organization: Prevent recreation when
feature_set
is updated toALL
(#15473) - resource/aws_s3_bucket: Use provider credentials when getting the bucket region (fix AWS China non-ICP S3 Buckets and other restrictive environments) (#15481)
- resource/aws_s3_bucket_object: Correctly updates
version_id
when certain configuration keys are changed (#14900)
ENHANCEMENTS
- data-source/aws_ec2_transit_gateway_route_table: Add
arn
attribute (#13921) - data-source/aws_ec2_transit_gateway_vpc_attachment: Add
appliance_mode_support
attribute (#16159) - data-source/aws_route_table: Add
route
vpc_endpoint_id
attribute (#16131) - resource/aws_db_instance: Add
restore_to_point_in_time
argument andlatest_restorable_time
attribute (#15969) - resource/aws_default_route_table: Add
route
configuration blockvpc_endpoint_id
argument (#16131) - resource/aws_ec2_transit_gateway: Support in-place updates for most arguments (#15556)
- resource/aws_ec2_transit_gateway_route_table: Add
arn
attribute (#13921) - resource/aws_ec2_transit_gateway_vpc_attachment: Add
appliance_mode_support
argument (#16159) - resource/aws_ec2_transit_gateway_vpc_attachment_accepter: Add
appliance_mode_support
attribute (#16159) - resource/aws_kinesis_firehose_delivery_stream: Add
http_endpoint_configuration
configuration block (#15356) - resource/aws_lb: Support
load_balancer_type
argument value ofgateway
(#16131) - resource/aws_lb_target_group: Support
protocol
argument value ofGENEVE
(#16131) - resource/aws_rds_cluster: Add
restore_to_point_in_time
argument (#7031) - resource/aws_route: Add
vpc_endpoint_id
argument (#16131) - resource/aws_route_table: Add
route
configuration blockvpc_endpoint_id
argument (#16131) - resource/aws_vpc_endpoint: Support
vpc_endpoint_type
argument valueGatewayLoadBalancer
(#16131) - resource/aws_vpc_endpoint_service: Add
gateway_load_balancer_arns
argument (#16131) - resource/aws_workspaces_workspace: Add configurable timeouts (#15479)
BUG FIXES
- data-source/aws_network_interface: Prevent crash with ENI attachments missing DeviceIndex or AttachmentID (#15567)
- resource/aws_cognito_identity_pool: Update
identity_pool_name
argument validation to include additional characters supported by the API (#15773) - resource/aws_db_instance: Ignore
DBInstanceNotFound
error during deletion (#15942) - resource/aws_ecs_service: Properly remove resource from Terraform state with
ClusterNotFoundException
error (#15927) - resource/aws_eip: In EC2-Classic, wait until Instance returns as associated during create or update (#16032)
- resource/aws_eip_association: Retry on additional EC2 Address eventual consistency errors on creation (#16032)
- resource/aws_eip_association: In EC2-Classic, wait until Instance returns as associated during creation (#16032)
- resource/aws_kinesis_analytics_application: Handle IAM role eventual consistency issues (#16125)
- resource/aws_kinesisanalyticsv2_application: Handle IAM role eventual consistency issues (#16125)
- resource/aws_lb_target_group: Allow invalid configurations that were allowed prior to 3.10. (#15613)
- resource/aws_network_interface: Prevent crash with ENI attachments missing DeviceIndex or AttachmentID (#15567)
- resource/aws_s3_bucket: Add plan-time validation to
acl
(#15327) - resource/aws_workspaces_bundle: Fix empty (private) owner (#14535)
BUG FIXES
- resource/aws_cloudwatch_event_target: Prevent regression from version 3.14.0 with
ListTargetsByRuleInput.EventBusName
error (#16075)
FEATURES
- New Data Source:
aws_route53_resolver_endpoint
(#8628) - New Data Source:
aws_sagemaker_prebuilt_ecr_image
(#15924) - New Data Source:
aws_workspaces_workspace
(#14135) - New Resource:
aws_secretsmanager_secret_policy
(#14468)
ENHANCEMENTS
- resource/aws_apigatewayv2_integration:
timeout_milliseconds
has different valid ranges and default values between HTTP and WebSocket APIs.timeout_milliseconds
is nowComputed
, meaning Terraform will only perform drift detection of its value when present in a configuration. (#16017) - resource/aws_cloudwatch_event_permission: Add
event_bus_name
(#15922) - resource/aws_cloudwatch_event_target: Add plan time validation to
arn
,role_arn
,launch_type
,task_definition_arn
(#11685) - resource/aws_cloudwatch_event_target: Add
event_bus_name
(#15799) - resource/aws_codeartifact_domain: add
tags
argument. (#16006) - resource/aws_codeartifact_repository: add
tags
argument. (#16006) - resource/aws_eip: Add
network_border_group
argument (#14028) - resource/aws_glue_catalog_database: add plan time validations for
description
andname
. (#15956) - resource/aws_glue_crawler: Support MongoDB target (#15934)
- resource/aws_glue_trigger: Add plan time validation to
name
(#15793) - resource/aws_glue_trigger: Add
security_configuration
andnotification_property
arguments toactions
block (#15793) - resource/aws_kinesis_analytics_application: Wait for resource deletion. (#16005)
- resource/aws_kinesis_analytics_application:
inputs.parallelism
is a computed attribute. (#16005) - resource/aws_kinesis_analytics_application: Handle
inputs.processing_configuration
addition and deletion. (#16005) - resource/aws_kinesis_analytics_application: Handle
reference_data_sources
deletion. (#16005) - resource/aws_kinesis_analytics_application: Handle
cloudwatch_logging_options
deletion. (#16005) - resource/aws_kinesis_analytics_application: Set the
description
attribute on creation. (#16005) - resource/aws_sagemaker_endpoint_configuration: Add support for
data_capture_config
. (#15887) - resource/aws_sagemaker_endpoint_configuration: Add plan time validation for
production_variants.accelerator_type
,production_variants.instance_type
. (#15887) - resource/aws_sagemaker_model: Add support for
primary_container. image_config
andcontainers.image_config
(#15957) - resource/aws_sagemaker_model: Add plan time validation for
execution_role_arn
(#15957)
BUG FIXES
- resource/aws_datasync_task: Allow
UNAVAILABLE
as pending status during creation (#15949) - resource/aws_glue_classifier: Fix
quote_symbol
being optional (#15948) - resource/aws_lambda_function: Publish version if value of
publish
is only change (#15020) - resource/aws_rds_cluster: Prevent error removing cluster from global cluster when not found (#15938)
- resource/aws_rds_cluster: Prevent recreation when using
snapshot_identifier
andkms_key_id
withoutstorage_encrypted = true
(#15915) - resource/aws_rds_cluster_instance: Add Cluster Identifier to creation error message (#15939)
- resource/aws_rds_global_cluster: Prevent error removing cluster from global cluster when not found (#15938)
NOTES
- data-source/aws_autoscaling_groups: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_caller_identity: The
id
attribute has changed to the ID of the AWS Account. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ebs_snapshot_ids: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ebs_volumes: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ec2_coip_pools: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ec2_instance_type_offerings: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ec2_local_gateway_route_tables: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ec2_local_gateway_virtual_interface_groups: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ec2_local_gateways: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_ec2_spot_price: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_efs_access_points: The
id
attribute has changed to the EFS File System identifier. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_glue_script: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_inspector_rules_packages: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_instances: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_kms_ciphertext: The
id
attribute has changed to the KMS Key. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_kms_secrets: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15725) - data-source/aws_network_acls: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_network_interfaces: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_organizations_organizational_units: The
id
attribute has changed to the parent identifier. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_outposts_outposts: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_outposts_sites: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_route_tables: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_route53_resolver_rules: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_s3_bucket_objects: The
id
attribute has changed to the name of the S3 Bucket. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_security_groups: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_vpc_peering_connections: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896) - data-source/aws_vpcs: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15896)
FEATURES
- New Resource:
aws_glue_resource_policy
(#10361) - New Resource:
aws_s3control_bucket
(#15510) - New Resource:
aws_s3control_bucket_lifecycle_configuration
(#15604) - New Resource:
aws_s3control_bucket_policy
(#15575) - New Resource:
aws_s3outposts_endpoint
(#15585) - New Resource:
aws_sagemaker_code_repository
(#15809) - New Resource:
aws_storagegateway_tape_pool
(#15370)
ENHANCEMENTS
- resource/aws_cloudwatch_event_rule: Add
event_bus_name
(#15727) - resource/aws_ecs_service: Add
wait_for_steady_state
argument (#3485) - resource/aws_s3_access_point: Support S3 on Outposts (#15621)
- resource/aws_sagemaker_model: Add
container
configuration blockmode
argument (#15371) - resource/aws_sagemaker_notebook_instance: Add support for
additional_code_repositories
(#15830) - resource/aws_sagemaker_notebook_instance: Add
url
andnetwork_interface_id
attributes (#15802)
BUG FIXES
- data-source/aws_autoscaling_groups: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_caller_identity: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ebs_snapshot_ids: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ebs_volumes: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ec2_coip_pools: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ec2_instance_type_offerings: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ec2_local_gateway_route_tables: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ec2_local_gateway_virtual_interface_groups: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ec2_local_gateways: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_ec2_spot_price: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_efs_access_points: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_glue_script: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_inspector_rules_packages: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_instances: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_kms_ciphertext: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_kms_secrets: Prevent plan differences with the
id
attribute (#15725) - data-source/aws_network_acls: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_network_interfaces: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_organizations_organizational_units: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_outposts_outposts: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_outposts_sites: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_route_tables: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_route53_resolver_rules: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_s3_bucket_objects: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_security_groups: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_vpc_peering_connections: Prevent plan differences with the
id
attribute (#15896) - data-source/aws_vpcs: Prevent plan differences with the
id
attribute (#15896) - resource/aws_apigatewayv2_integration: Correctly handle update of AWS service integrations (#15894)
- resource/aws_api_gateway_usage_plan: Change
api_stages
to from List to Set (#14345) - resource/aws_lambda_function: Update published
version
andqualified_arn
on config changes (#15121) - resource/aws_rds_global_cluster: Prevent recreation when using encrypted
source_db_cluster_identifier
withoutstorage_encrypted
(#15916) - resource/aws_vpc_peering_connection_options: Only modify options that have changed (#12126)
FEATURES
- New Data Source:
aws_rds_certificate
(#15789) - New Resource:
aws_autoscalingplans_scaling_plan
(#8965) - New Resource:
aws_cloudwatch_event_bus
(#10256) - New Resource:
aws_kinesisanalyticsv2_application
(#11652) - New Resource:
aws_storagegateway_stored_iscsi_volume
(#12027)
ENHANCEMENTS
- resource/aws_cloudwatch_event_target: Add validation to
input_transformer.input_paths
map (#15669) - resource/aws_codeartifact_repository - support external connections (#15569)
- resource/aws_fsx_lustre_file_system: Add
copy_tags_to_backups
support (#15687) - resource/aws_fsx_lustre_file_system: Increased maximum
automatic_backup_retention_days
from 35 to 90 (#15641) - resource/aws_fsx_windows_file_system: Increased maximum
automatic_backup_retention_days
from 35 to 90 (#15641) - resource/aws_glue_catalog_table: add validation checks for resource properties (#12523)
- resource/aws_network_interface: Add
ipv6_addresses
andipv6_address_count
arguments (#12281) - resource/aws_sagemaker_notebook_instance:
lifecycle_config_name
androot_access
are updateable. (#15385) - resource/aws_sagemaker_notebook_instance: plan time validation for
role_arn
,instance_type
. (#15385)
BUGFIXES
- resource/aws_workspaces_workspace: Fix terminated state resolution (#15705)
- resource/aws_glue_table_catalog_table: Prevent errors on
unset
ofser_de_info.name
(#15127) - resource/aws_glue_security_configuration: Don't send empty
kms_arn
if mode isDISABLED
(#13618)
FEATURES
- New Data Source:
aws_codeartifact_repository_endpoint
(#15566) - New Resource:
aws_appmesh_gateway_route
(#15638) - New Resource:
aws_appmesh_virtual_gateway
(#15611)
BUG FIXES
- resource/aws_ec2_transit_gateway_route: Prevent plan errors with compressed IPv6 addresses (#14846)
ENHANCEMENTS
- data-source/aws_workspaces_directory: Add workspaces creation properties (#14577)
- resource/aws_backup_plan: Add support for AdvancedBackupSettings (#15341)
- resource/aws_sagemaker_notebook_instance: Add
default_code_repository
attribute (#13772) - resource/aws_sagemaker_notebook_instance: Add
volume_size
attribute (#15521) - resource/aws_workspaces_directory: Add workspaces creation properties (#14577)
FEATURES
- New Data Source:
aws_codeartifact_authorization_token
(#15425) - New Data Source:
aws_ec2_instance_type
(#13124) - New Data Source:
aws_lex_bot_alias
(#8919) - New Data Source:
aws_redshift_orderable_cluster
(#15438) - New Resource:
aws_codeartifact_repository_permissions_policy
(#15562) - New Resource:
aws_lex_bot_alias
(#8919) - New Resource:
aws_s3_bucket_ownership_controls
(#15482)
NOTES
- data-source/aws_acm_certificate: The
id
attribute has changed to the ARN of the ACM Certificate. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_autoscaling_group: The
id
attribute has changed to the name of the Auto Scaling Group. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_availability_zones: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_db_event_categories: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_ebs_default_kms_key: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_ebs_encryption_by_default: The
id
attribute has changed to the name of the AWS Region. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_ec2_instance_type_offering: The
id
attribute has changed to the EC2 Instance Type. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_ecr_authorization_token: The
id
attribute has changed to the AWS Region. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_ecr_image: The
id
attribute has changed to the SHA256 digest of the ECR Image. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_eks_cluster_auth: The
id
attribute has changed to the name of the EKS Cluster. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_iam_account_alias: The
id
attribute has changed to the AWS Account Alias. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_kms_alias: The
id
attribute has changed to the ARN of the KMS Alias. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_partition: The
id
attribute has changed to the identifier of the AWS Partition. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_regions: The
id
attribute has changed to the identifier of the AWS Partition. The first apply of this updated data source may show this difference. (#15399) - data-source/aws_sns_topic: The
id
attribute has changed to the ARN of the SNS Topic. The first apply of this updated data source may show this difference. (#15399)
ENHANCEMENTS
- data-source/aws_batch_compute_environment: Add
tags
attribute (#15470) - data-source/aws_batch_job_queue: Add
tags
attribute (#15470) - data-source/aws_vpc_endpoint_service: Accept
service_type
as argument (#15467) - resource/aws_appmesh_route: Add
timeout
configuration block togrpc_route
,http_route
,http2_route
andtcp_route
attributes. (#14361) - resource/aws_appmesh_virtual_node: Add
timeout
configuration block tolistener
attribute. (#14361) - resource/aws_batch_compute_environment: Add
tags
argument (#15470) - resource/aws_batch_job_definition: Add
tags
argument (#15470) - resource/aws_batch_job_queue: Add
tags
argument (#15470) - resource/aws_lb_target_group: Add
source_ip
as an option for thestickiness.type
argument. (#15295) - resource/aws_sns_topic_subscription: Create subscriptions with attributes (delivery policy, filter policy, etc.) instead of separate API calls (#10496)
BUG FIXES
- data-source/aws_acm_certificate: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_autoscaling_group: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_availability_zones: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_db_event_categories: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_ebs_default_kms_key: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_ebs_encryption_by_default: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_ec2_instance_type_offering: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_ecr_authorization_token: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_ecr_image: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_eks_cluster_auth: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_iam_account_alias: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_kms_alias: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_partition: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_regions: Prevent plan differences with the
id
attribute (#15399) - data-source/aws_sns_topic: Prevent plan differences with the
id
attribute (#15399) - resource/aws_acm_certificate: Prevent unexpected timeout error on deletion due to API retries (#15522)
- resource/aws_batch_job_definition: Prevent unexpected plan difference for
container_properties
argument value with new secrets support (#15470) - resource/aws_codestarnotifications_notification_rule: Prevent unexpected timeout error during target deletion due to API retries (#15523)
- resource/aws_config_remediation_configuration: Prevent unexpected timeout error on deletion due to API retries (#15524)
- resource/aws_db_proxy: Increase default deletion timeout to 60 minutes (#15537)
- resource/aws_db_proxy_target: Ensure
db_proxy_name
andtarget_group_name
attributes are properly imported (#15537) - resource/aws_ecs_cluster: Prevent IAM Service Linked Role error on first ECS provision (#15457)
- resource/aws_emr_instance_fleet: Prevent error on deletion when EMR Cluster is no longer running (#15548)
- resource/aws_emr_managed_scaling_policy: Ensure
cluster_id
attribute is properly saved during import (#15541) - resource/aws_emr_managed_scaling_policy: Handle additional cases where resource should be removed from Terraform state (#15541)
- resource/aws_gamelift_fleet: Prevent unexpected timeout error on creation due to API retries (#15526)
- resource/aws_glue_workflow: Ensure
max_concurrent_runs
attribute is properly saved during import (#15538) - resource/aws_lex_bot: Prevent unexpected timeout error on creation due to API retries (#15527)
- resource/aws_lex_bot_alias: Prevent unexpected timeout error on creation due to API retries (#15527)
- resource/aws_lex_intent: Prevent unexpected timeout error on creation due to API retries (#15527)
- resource/aws_lex_slot_type: Prevent unexpected timeout error on creation due to API retries (#15527)
- resource/aws_organizations_policy: Prevent errors with imported AWS-managed Organizations policies (#15446)
- resource/aws_s3_bucket: Correctly handle provider-level ignored tag configuration (#12013)
- resource/aws_s3_bucket: Correctly set expiration for lifecycle_rule with abort_incomplete_multipart_upload_days set (#15263)
- resource/aws_s3_bucket_analytics_configuration: Prevent unexpected timeout error on deletion due to API retries (#15529)
- resource/aws_s3_bucket_object: Correctly handle provider-level ignored tag configuration (#12013)
FEATURES
- New Resource:
aws_backup_vault_notifications
(#12501) - New Resource:
aws_codeartifact_domain
(#13743) - New Resource:
aws_codeartifact_domain_permissions
(#13753) - New Resource:
aws_codeartifact_repository
(#14429) - New Resource:
aws_db_proxy_target
(#12784) - New Resource:
aws_glue_data_catalog_encryption_settings
(#14916) - New Resource:
aws_glue_ml_transform
(#14909) - New Resource:
aws_glue_partition
(#12547) - New Resource:
aws_lex_bot
(#8918) - New Resource:
aws_lex_intent
(#8917) - New Data Source:
aws_lex_bot
(#8918) - New Data Source:
aws_lex_intent
(#8917)
ENHANCEMENTS
- resource/aws_appmesh_route: Add
grpc_route
andhttp2_route
attributes to support gRPC and HTTP/2 services (#11669) - resource/aws_appmesh_route: Add
retry_policy
attribute to support App Mesh retry policies (#11660) - resource/aws_appmesh_virtual_node: Add
grpc
andhttp2
as valid values for theprotocol
attribute (#11669) - resource/aws_appmesh_virtual_node: Add
spec.backend_defaults
,spec.backend.virtual_service.client_policy
andspec.listener.tls
attributes to support TLS in transit encryption (#12541) - resource/aws_appmesh_virtual_router: Add
grpc
andhttp2
as valid values for theprotocol
attribute (#11669) - resource/aws_fsx_lustre_file_system: Add
auto_import_policy
argument (#15231) - resource/aws_fsx_lustre_file_system: Support
daily_automatic_backup_start_time
(#15299) - resource/aws_fsx_lustre_file_system: Add
storage_type
anddrive_cache_type
(#14727) - resource/aws_glue_crawler: Add
connection_name
field tos3_target
block (#15350) - resource/aws_sagemaker_notebook_instance: Ability to configure root access for Sagemaker notebook instances (#14184)
BUG FIXES
- data-source/aws_s3_bucket_object: Prevent crash when S3 HeadObject returns empty response (#14154)
- resource/aws_db_instance: Prevent ordering differences with
enabled_cloudwatch_logs_exports
argument (#15404) - resource/aws_ec2_client_vpn_authorization_rule: Increased active and revoked timeouts from 5 to 10 minutes (#15367)
- resource/aws_rds_cluster: Prevent ordering differences with
enabled_cloudwatch_logs_exports
argument (#15404) - resource/aws_redshift_cluster: Increase default update timeout to 75 minutes (#15339)
FEATURES
- New Resource:
aws_datasync_location_fsx_windows
(#12686) - New Resource:
aws_route53_resolver_query_log_config
. (#14897) - New Resource:
aws_route53_resolver_query_log_config_association
. (#14901) - New Data Source:
aws_rds_engine_version
(#15228) - New Data Source:
aws_docdb_engine_version
(#15253) - New Data Source:
aws_neptune_engine_version
(#15259) - New Data Source:
aws_workspaces_image
(#11428)
ENHANCEMENTS
- data-source/aws_lb: Add
customer_owned_ipv4_pool
andsubnet_mapping
outpost_id
attributes (#15170) - resource/aws_apigatewayv2_api: Add
disable_execute_api_endpoint
attribute (#15250) - resource/aws_apigatewayv2_authorizer: Add
authorizer_payload_format_version
,authorizer_result_ttl_in_seconds
andenable_simple_responses
attribute to support Lambda authorizers for HTTP APIs (#15232) - resource/aws_apigatewayv2_authorizer: Change
identity_sources
to an optional attribute (#15232) - resource/aws_appmesh_mesh: Add
mesh_owner
andresource_owner
attributes (#14349) - resource/aws_appmesh_route: Add
mesh_owner
argument andresource_owner
attribute (#14349) - resource/aws_appmesh_virtual_node: Add
mesh_owner
argument andresource_owner
attribute (#14349) - resource/aws_appmesh_virtual_router: Add
mesh_owner
argument andresource_owner
attribute (#14349) - resource/aws_appmesh_virtual_service: Add
mesh_owner
argument andresource_owner
attribute (#14349) - resource/aws_elasticsearch_domain: Support
AUDIT_LOGS
log type (#15218) - resource/aws_glue_connection: Support
NETWORK
connection type (#14818) - resource/aws_glue_crawler: Add support for
scan_all
andscan_rate
arguments for ddb targets (#14819) - resource/aws_glue_crawler: Allow removing
table_prefix
(#15268) - resource/aws_glue_job: Add
non_overridable_arguments
argument (#14793) - resource/aws_glue_workflow: Add
tags
argument (#14910) - resource/aws_glue_workflow: Add
arn
attribute (#14910) - resource/aws_glue_workflow: Add
max_concurrent_runs
argument (#14910) - resource/aws_glue_workflow: Plan time validation for
name
(#14910) - resource/aws_fsx_lustre_file_system: Add support for backup retention (#14446)
- resource/aws_fsx_lustre_file_system: Add
kms_key_id
argument (#15057) - resource/aws_fsx_lustre_file_system: Add
mount_name
argument (#14313) - resource/aws_lb: Add
customer_owned_ipv4_pool
argument andsubnet_mapping
outpost_id
attribute (#15170) - resource/aws_organizations_policy: Add
tags
argument (#15316) - resource/aws_rds_cluster: Add
allow_major_version_upgrade
argument (#14709) - resource/aws_storagegateway_smb_file_share: Add
admin_user_list
argument (#12196) - resource/aws_transfer_server: Support
VPC
value forendpoint_type
argument and addendpoint_details
configuration blockaddress_allocation_ids
,subnet_ids
, andvpc_id
arguments (#12599) - resource/aws_transfer_user: Add
home_directory_mappings
configuration blocks andhome_directory_type
argument (#13591)
BUG FIXES
- resource/aws_dynamodb_table: Ensure changes in
name
,range_key
,projection_type
, ornon_key_attributes
of alocal_secondary_index
configuration block force resource recreation (#12335) - resource/aws_dynamodb_table: Ensure
local_secondary_index
non_key_attributes
are sent through API requests on resource creation (#15115) - resource/aws_efs_mount_target: Increase create timeout to 30 minutes (#15293)
- resource/aws_fsx_lustre_file_system: Change
aws_fsx_lustre_file_system's
'snetwork_interface_ids
toTypeList
to preserve ordering. (#14314) - resource/aws_neptune_cluster_instance: Add
configuring-enhanced-monitoring
to expected states when creating and updating (#15284) - resource/aws_vpn_gateway: Increase VPC detachment timeout to 30 minutes (#15201)
- resource/aws_vpn_gateway_attachment: Increase VPC detachment timeout to 30 minutes (#15201)
FEATURES
- New Resource:
aws_config_remediation_configuration
(#13884)
ENHANCEMENTS
- resource/aws_db_cluster_snapshot: Add plan-time validation for
db_cluster_snapshot_identifier
argument (#15132) - resource/aws_kinesis_firehose_delivery_stream: Add
server_side_encryption
key_arn
andkey_type
arguments (support KMS Customer Managed Key encryption) (#11954)
BUG FIXES
- data-source/aws_kms_secrets: Prevent
plaintext
values to appear in CLI output with Terraform 0.13 (#15169) - resource/aws_acm_certificate: Prevent tagging is not permitted on re-import error (#15060)
- resource/aws_cognito_identity_pool: Prevent ordering differences for
openid_connect_provider_arns
argument (#15178)
FEATURES
- New Resource:
aws_db_proxy_default_target_group
(#12743)
BUG FIXES
- resource/aws_ec2_client_vpn_authorization_rule: Increase active and revoked timeouts from 1 to 5 minutes (#15037)
FEATURES
- New Data Source:
aws_docdb_orderable_db_instance
(#14931) - New Data Source:
aws_lex_slot_type
(#8916) - New Data Source:
aws_neptune_orderable_db_instance
(#14953) - New Data Source:
aws_rds_orderable_db_instance
(#14834) - New Data Source:
aws_vpc_peering_connections
(#9491) - New Resource:
aws_codebuild_report_group
(#12573) - New Resource:
aws_db_proxy
(#12704) - New Resource:
aws_emr_instance_fleet
(#14813) - New Resource:
aws_glue_user_defined_function
(#12537) - New Resource:
aws_guardduty_filter
(#14876) - New Resource:
aws_lex_slot_type
(#8916)
ENHANCEMENTS
- data-source/aws_cur_report_definition: Add
refresh_closed_reports
andreport_versioning
attributes (#12428) - data-source/aws_outposts_outpost: Add
arn
argument (#14967) - data-source/aws_route: Add
local_gateway_id
attribute (#14864) - data-source/aws_route_table: Add
route
local_gateway_id
attribute (#14864) - resource/aws_acm_certificate: Provide additional plan-time validation for
subject_alternative_names
argument values (#14782) - resource/aws_ami: Support
io2
value forvolume_type
argument plan-time validation (#14906) - resource/aws_autoscaling_group: Support provider-level
ignore_tags
configuration (#13868) - resource/aws_cloudtrail: Add
insight_selector
configuration block (#12390) - resource/aws_cur_report_definition: Add
refresh_closed_reports
andreport_versioning
arguments (#12428) - resource/aws_cur_report_definition: Support
ATHENA
value inadditional_artifacts
argument plan-time validation (#12428) - resource/aws_cur_report_definition: Support
Parquet
value incompression
andformat
argument plan-time validations (#12428) - resource/aws_cur_report_definition: Support
MONTHLY
value intime_unit
argument plan-time validation (#12428) - resource/aws_ebs_volume: Support io2 type (#14894)
- resource/aws_ec2_client_vpn_endpoint: Support
authentication_options
type
argumentfederated-authentication
value and newsaml_provider_arn
argument (#14171) - resource/aws_emr_cluster: Add
core_instance_fleet
andmaster_instance_fleet
configuration blocks (#14788) - resource/aws_instance: Support
io2
value forvolume_type
argument plan-time validation (#14906) - resource/aws_kinesis_firehose_delivery_stream: Add
elasticsearch_configuration
vpc_config
configuration block (#13269) - resource/aws_kinesis_firehose_delivery_stream: Add
elasticsearch_configuration
cluster_endpoint
argument (#12484) - resource/aws_kinesis_firehose_delivery_stream: Add various plan-time validations for arguments (#12484)
- resource/aws_launch_template: Support
io2
value forvolume_type
argument plan-time validation (#14906) - resource/aws_msk_configuration: Support resource in-place updates and deletion (#14826)
- resource/aws_route: Add
local_gateway_id
argument (#14864) - resource/aws_route_table: Add
route
local_gateway_id
argument (#14864) - resource/aws_spot_fleet_request: Support
io2
value forvolume_type
argument plan-time validation (#14906) - resource/aws_wafv2_rule_group: Add
ip_set_forwarded_ip_config
configuration block toip_set_reference_statement
(#14902) - resource/aws_wafv2_web_acl: Add
ip_set_forwarded_ip_config
configuration block toip_set_reference_statement
(#14902)
BUG FIXES
- resource/aws_autoscaling_group: Prevent unnecessary tag removal and recreation within tag updates (#13868)
- resource/aws_cloudfront_distribution: Prevent panic with missing
ForwardedValues
(#14993) - resource/aws_dynamodb_table: Properly update
global_secondary_index
non_key_attributes
values (#9988) - resource/aws_emr_cluster: Prevent recreation when
ebs_config.volumes_per_instance
is greater than 1 (#14858) - resource/aws_lambda_function_event_invoke_config: Prevent unexpected format of function resource error (#14851)
- resource/aws_lightsail_instance: Prevent panic with key-only tags (#13868)
- resource/aws_mq_configuration: Prevent additional revision creation with
tags
only updates (#14850) - resource/aws_opsworks_stack: Suppress equivalent
custom_json
differences (#14886) - resource/aws_rds_cluster_endpoint: Increase creation timeout to 30 minutes (#14862)
- resource/aws_route53_resolver_rule: Correct handling for single period (
.
) value indomain_name
argument (#15015) - resource/aws_route53_zone_association: Correctly handle zones with over 100 VPC associations (#14885)
- resource/aws_waf_rate_based_rule: Properly update
rate_limit
value (#14964) - resource/aws_workspaces_workspace: Prevent error when
workspace_properties
running_mode
is set toALWAYS_ON
(#13976)
FEATURES
- New Data Source:
aws_db_subnet_group
(#9525) - New Resource:
aws_emr_managed_scaling_policy
(#13965) - New Resource:
aws_guardduty_publishing_destination
(#13894) - New Resource:
aws_securityhub_action_target
(#10493) - New Resource:
aws_xray_encryption_config
(#13600) - New Resource:
aws_xray_group
(#13597)
ENHANCEMENTS
- resource/aws_apigatewayv2_integration: Add
integration_subtype
argument (Support AWS service integrations for HTTP APIs) (#14860) - resource/aws_elasticache_replication_group: Add plan-time validation for
notification_topic_arn
andsnapshot_arns
arguments (#12974) - resource/aws_globalaccelerator_endpoint_group: Add
client_ip_preservation_enabled
argument to theendpoint_configuration
configuration block (#14486) - resource/aws_storagegateway_cached_iscsi_volume: Add
kms_encrypted
andkms_key
arguments (#12066) - resource/aws_storagegateway_gateway: Add
smb_security_strategy
argument (#13563) - resource/aws_storagegateway_gateway: Add plan-time validation for
gateway_ip_address
argument (#13563) - resource/aws_storagegateway_gateway: Add
average_download_rate_limit_in_bits_per_sec
andaverage_upload_rate_limit_in_bits_per_sec
arguments (#13568) - resource/aws_storagegateway_nfs_file_share: Add
cache_attributes
configuration block (#14759) - resource/aws_storagegateway_nfs_file_share: Support
S3_INTELLIGENT_TIERING
value indefault_storage_class
argument plan-time validation (#14759) - resource/aws_storagegateway_smb_file_share: Add
cache_attributes
configuration block andcase_sensitivity
argument (#14790) - resource/aws_storagegateway_smb_file_share: Support
S3_INTELLIGENT_TIERING
value indefault_storage_class
argument plan-time validation (#14790) - resource/aws_xray_sampling_rule: Add
tags
argument (#14831)
BUG FIXES
- resource/aws_acmpca_certificate_authority: Ensure
DELETED
status triggers state removal (#13684) - resource/aws_appmesh_virtual_node: Prevent panics with empty
backend
configuration blocks (#14074) - resource/aws_cloudfront_distribution: Preview panics during resource import with empty
forwarded_values.query_string
(#14844) - resource/aws_elasticache_replication_group: Ensure
tags
are stored in Terraform state and properly updated (#12974) - resource/aws_emr_instance_group: Increase creation and update timeout to 30 minutes (#13077] / [#14106)
- resource/aws_globalaccelerator_accelerator: Increase creation timeout to 10 minutes (#14486)
- resource/aws_globalaccelerator_endpoint_group: Prevent differences with
health_check_path
defaults (#14486) - resource/aws_glue_crawler: Properly update
schedule
value (#14792)
ENHANCEMENTS
- data-source/aws_lambda_layer_version: Support
java8.al2
andprovided.al2
inruntime
argument plan-time validation (#14663) - provider: Support for appending information to User-Agent request headers with the
TF_APPEND_USER_AGENT
environment variable (#14555) - resource/aws_apigatewayv2_api: Add
body
argument (#12567) - resource/aws_customer_gateway: Support tag on create (#14501)
- resource/aws_dms_replication_instance: Add
allow_major_version_upgrade
argument (#14550) - resource/aws_ec2_client_vpn_network_association: Allow specifying custom security groups (#14146)
- resource/aws_ec2_client_vpn_network_association: Support resource import (#14146)
- resource/aws_egress_only_intrenet_gateway:-Ssupport tag on create (#14501)
- resource/aws_eks_node_group: Support
AL2_ARM_64
value forami_type
argument plan-time validation (#14729) - resource/aws_eks_node_group: Add
launch_template
configuration block (#14639) - resource/aws_internet_gateway: Support tag on create (#14501)
- resource/aws_lambda_function: Support
java8.al2
andprovided.al2
inruntime
argument plan-time validation (#14663) - resource/aws_lambda_layer_version: Support
java8.al2
andprovided.al2
incompatible_runtimes
argument plan-time validation (#14663) - resource/aws_launch_template: Support
elastic-gpu
andspot-instances-request
intag_specifications
resource_type
argument plan-time validation (#14662) - resource/aws_network_acl: Support tag on create (#14501)
- resource/aws_network_interface: Support tag on create (#14501)
- resource/aws_route_table: Support tag on create (#14501)
- resource/aws_security_group: Support tag on create (#14501)
- resource/aws_spot_instance_request: Support tag on create (#14501)
- resource/aws_storagegatway_smb_file_share: Add
audit_destination_arn
andsmb_acl_enabled
arguments (#13572) - resource/aws_subnet: Support tag on create (#14501)
- resource/aws_subnet: Add plan-time validation to
ipv6_cidr_block
argument (#12303) - resource/aws_vpc_dhcp_options: Support tag on create (#14501)
- resource/aws_vpc_peering_connection: Support tag on create (#14501)
- resource/aws_vpn_connection: Support tag on create (#14501)
- resource/aws_vpn_gateway: Support tag on create (#14501)
- resource/aws_wafv2_rule_group: Add
forwarded_ip_config
configuration block togeo_match_statement
(#14685) - resource/aws_wafv2_web_acl: Add
forwarded_ip_config
configuration block torate_based_statement
andgeo_match_statement
(#14685) - resource/aws_wafv2_web_acl: Support
FORWARDED_IP
value forrate_based_statement
aggregate_key_type
argument plan-time validation (#14685)
BUG FIXES
- resource/aws_api_gateway_vpc_link: Increase create, update, and delete timeouts to 20 minutes (#10407)
- resource/aws_apigatewayv2_stage: Set
execution_arn
attribute for HTTP APIs (#14638) - resource/aws_db_parameter_group: Restore ability to update
parameter
configuration values (#12112) - resource/aws_user_pool_domain: Ensure state removal when deleted outside Terraform (#14732)
- resource/aws_rds_cluster_parameter_group: Restore ability to update
parameter
configuration values (#12112) - resource/aws_ssm_parameter: Handle retries after creation for asynchronous
data_type
validation process (#14514) - resource/aws_storagegateway_nfs_file_share: Skip
UpdateSMBFileShare
API call when onlytags
change and remove extraneousListTagsForResource
API call during read (#13590) - resource/aws_subnet: Ensure
ipv6_cidr_block
argument performs removal when removed from configuration (#12303)
ENHANCEMENTS
- data-source/aws_launch_configuration: Add
ebs_block_device
no_device
attribute (#14583) - data-source/aws_lb: Add
subnet_mapping
private_ipv4_address
attribute (#14545) - provider: Upgrade to Terraform Plugin SDK V2. There should be no breaking changes from a practitioner's perspective. Some validation errors should now feature enhanced messaging. (#14432)
- resource/aws_accessanalyzer_analyzer: Support
ORGANIZATION
value intype
argument (#14493) - resource/aws_codebuild_project: Support
WINDOWS_SERVER_2019_CONTAINER
value inenvironment
type
argument plan-time validation (#14532) - resource/aws_organizations_organization: Support
AISERVICES_OPT_OUT_POLICY
value inenabled_policy_types
argument plan-time validation (Support AI Opt Out policies) (#14650) - resource/aws_organizations_policy: Support
AISERVICES_OPT_OUT_POLICY
value intype
argument plan-time validation (Support AI Opt Out policies) (#14528) - resource/aws_route53_health_check: Add
disabled
argument (#14614)
BUG FIXES
- data-source/aws_launch_template: Prevent type error with
network_interfaces
delete_on_termination
attribute (#14599) - resource/aws_acm_certificate_validation: Prevent panic with missing
DomainValidationOptions
ResourceRecord
attribute in API response [#14590] - resource/aws_ecr_repository: Prevent panic with missing
EncryptionConfiguration
attribute in API response (#14584) - resource/aws_wafv2_rule_group: Prevent unnecessary resource recreation with
rule
updates (#14617) - resource/aws_wafv2_web_acl: Prevent unnecessary resource recreation with
rule
updates (#14616)
NOTES:
- resource/aws_route53_zone_association: The addition of cross-account zone association support required the use of new
ListHostedZonesByVPC
API call and adding the VPC Region to the resource ID for new resources. Restrictive IAM permissions for Terraform and cross-region imports may require updates. (#14215)
FEATURES
- New Data Source:
aws_ec2_spot_price
(#12504) - New Resource:
aws_route53_vpc_association_authorization
(#14215)
ENHANCEMENTS
- data-source/aws_ecr_repository: Allow
registry_id
as an argument (#14368) - data-source/aws_ecr_repository: Add
image_scanning_configuration
andimage_tag_mutability
attributes (#14368) - data-source/aws_ecr_repository: Add
encryption_configuration
attribute (#14520) - resource/aws_api_gateway_method_settings: Plan-time validation added to
settings
unauthorized_cache_control_header_strategy
andlogging_level
arguments (#12651) - resource/aws_ecr_repository: Add
encryption_configuration
attribute (#14520) - resource/aws_lb: Add
subnet_mapping
configuration blockprivate_ipv4_address
argument (#11404) - resource/aws_rds_global_cluster: Add
force_destroy
andsource_db_cluster_identifier
arguments (#14487) - resource/aws_rds_global_cluster: Add
global_cluster_members
attribute (#14487) - resource/aws_route53_zone_association: Cross-account zone associations can now be created in conjunction with the new
aws_route53_vpc_association_authorization
resource (#14215) - resource/aws_ssm_parameter: Add
data_type
argument (supportaws:ec2:image
parameters) (#13326)
BUG FIXES
- data-source/aws_availability_zones: Prevent unexpected plan output every apply with
group_names
attribute (#14412) - data-source/aws_s3_bucket: Ensure provider
s3_force_path_style
configuration is passed through for getting S3 Bucket location with non-AWS implementations (#14481) - resource/aws_api_gateway_method_settings: Allow
settings
cache_ttl_in_seconds
argument to be set to 0 (#12651) - resource/aws_elastictranscoder_preset: Prevent empty configuration block panics (#14092)
- resource/aws_lambda_event_source_mapping: Allow
maximum_retry_attempts
argument to be set to 0 (#12479) - resource/aws_rds_cluster: Add an
InvalidDBClusterStateFault
retryable error condition for clusters part of a global cluster (#14420) - resource/aws_rds_cluster: Increase retry timeout for deletion to 2 minutes (#14420)
- resource/aws_rds_cluster: Prevent error when both
global_cluster_identifier
andreplication_source_identifier
are configured on creation (#14490) - resource/aws_s3_bucket: Ensure provider
s3_force_path_style
configuration is passed through for getting S3 Bucket location with non-AWS implementations (#14481) - resource/aws_secretsmanager_secret: Allow retries for IAM eventual consistency errors (#14459)
- resource/aws_security_group: Ensure
name_prefix
argument with hex digitsa
throughf
is properly imported (#14475) - resource/aws_spot_fleet_request: Allow
target_capacity
argument to be updated to 0 (#12759) - resource/aws_spot_fleet_request: Wait for modify operation completion (default timeout of 10 minutes) (#12759)
- resource/aws_vpc_dhcp_options_association: Properly trigger resource recreation when VPC is deleted outside Terraform (#14367)
NOTES:
- provider: This version is built using Go 1.14.5, including security fixes to the crypto/x509 and net/http packages.
BREAKING CHANGES
- provider: New versions of the provider can only be automatically installed on Terraform 0.12 and later (#14143)
- provider: All "removed" attributes are cut, using them would result in a Terraform Core level error (#14001)
- provider: Credential ordering has changed from static, environment, shared credentials, EC2 metadata, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata) to static, environment, shared credentials, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata) (#14077)
- provider: The
AWS_METADATA_TIMEOUT
environment variable no longer has any effect as we now depend on the default AWS Go SDK EC2 Metadata client timeout of one second with two retries (#14077) - provider: Remove deprecated
kinesis_analytics
andr53
custom service endpoint arguments (#14238) - data-source/aws_availability_zones: Remove deprecated
blacklisted_names
andblacklisted_zone_ids
arguments (#14134) - data-source/aws_directory_service_directory: Return an error when a single result is not found (#14006)
- data-source/aws_ecr_repository: Return an error when a single result is not found (#10520)
- data-source/aws_efs_file_system: Return an error when a single result is not found (#14005)
- data-source/aws_launch_template: Return an error when a single result is not found (#10521)
- data-source/aws_route53_resolver_rule: Trailing period removed from
domain_name
argument set in data-source (#14220) - data-source/aws_route53_zone: Trailing period removed from
name
argument set in data-source (#14220) - resource/aws_acm_certificate:
certificate_body
,certificate_chain
, andprivate_key
attributes are no longer stored in the Terraform state with hash values (#9685) - resource/aws_acm_certificate:
domain_validation_options
attribute changed from list to set (#14199) - resource/aws_acm_certificate: Plan-time validation added to
domain_name
andsubject_alternative_names
arguments to prevent usage of strings with trailing periods (#14220) - resource/aws_api_gateway_method_settings: Remove
Computed
property fromthrottling_burst_limit
andthrottling_rate_limit
arguments, enabling drift detection (#14266) - resource/aws_api_gateway_method_settings: Update
throttling_burst_limit
andthrottling_rate_limit
argument defaults to match API default of-1
to keep throttling disabled (#14266) - resource/aws_autoscaling_group:
availability_zones
andvpc_zone_identifier
argument conflict now reported at plan-time (#12927) - resource/aws_autoscaling_group: Remove
Computed
property fromload_balancers
andtarget_group_arns
arguments, enabling drift detection (#14064) - resource/aws_cloudfront_distribution:
active_trusted_signers
argument renamed totrusted_signers
to support accessingitems
in Terraform 0.12 (#14339) - resource/aws_cloudwatch_log_group: Automatically trim
:*
suffix fromarn
attribute (#14214) - resource/aws_codepipeline: Removes
GITHUB_TOKEN
environment variable (#14175) - resource/aws_cognito_user_pool: Remove deprecated
admin_create_user_config
configuration blockunused_account_validity_days
argument (#14294) - resource/aws_dx_gateway: Remove automatic
aws_dx_gateway_association
resource import (#14124) - resource/aws_dx_gateway_association: Remove deprecated
vpn_gateway_id
argument (#14144) - resource/aws_dx_gateway_association_proposal: Remove deprecated
vpn_gateway_id
argument (#14144) - resource/aws_ebs_volume: Return an error when
iops
argument set to a value greater than 0 for volume types other thanio1
(#14310) - resource/aws_elastic_transcoder_preset: Remove
video
configuration blockmax_frame_rate
argument default value (#7141) - resource/aws_emr_cluster: Remove deprecated
instance_group
configuration block,core_instance_count
,core_instance_type
, andmaster_instance_type
arguments (#14137) - resource/aws_glue_job: Remove deprecated
allocated_capacity
argument (#14296) - resource/aws_iam_access_key: Remove deprecated
ses_smtp_password
attribute (#14299) - resource/aws_iam_instance_profile: Remove deprecated
roles
argument (#14303) - resource/aws_iam_server_certificate: Remove state hashing from
certificate_body
,certificate_chain
, andprivate_key
arguments for new or recreated resources (#14187) - resource/aws_instance: Return an error when
ebs_block_device
iops
orroot_block_device
iops
argument set to a value greater than0
for volume types other thanio1
(#14310) - resource/aws_lambda_alias: Resource import no longer converts Lambda Function name to ARN (#12876)
- resource/aws_launch_template:
network_interfaces
delete_on_termination
argument changed frombool
tostring
type (#8612) - resource/aws_lb_listener_rule: Remove deprecated
condition
configuration blockfield
andvalues
arguments (#14309) - resource/aws_msk_cluster: Update
encryption_info
encryption_in_transit
client_broker
argument default to match API default ofTLS
(#14132) - resource/aws_rds_cluster: Update
scaling_configuration
min_capacity
argument default to match API default of1
(#14268) - resource/aws_route53_resolver_rule: Trailing period removed from
domain_name
argument set in resource (#14220) - resource/aws_route53_zone: Trailing period removed from
name
argument set in resource (#14220) - resource/aws_s3_bucket: Remove automatic
aws_s3_bucket_policy
resource import (#14121) - resource/aws_s3_bucket: Convert
region
to read-only attribute (#14127) - resource/aws_s3_bucket_metric: Update
filter
argument to require at least one of theprefix
ortags
nested arguments (#14230) - resource/aws_security_group: Remove automatic
aws_security_group_rule
resource import (#12616) - resource/aws_ses_domain_identity: Plan-time validation added to
domain
argument to prevent usage of strings with trailing periods (#14220) - resource/aws_ses_domain_identity_verification: Plan-time validation added to
domain
argument to prevent usage of strings with trailing periods (#14220) - resource/aws_sns_platform_application:
platform_credential
andplatform_principal
attributes are no longer stored in the Terraform state with hash values (#3894) - resource/aws_spot_fleet_request: Remove 24 hour default for
valid_until
argument (#9718) - resource/aws_ssm_maintenance_window_task: Remove deprecated
logging_info
andtask_parameters
configuration blocks (#14311)
FEATURES
- New Data Source: aws_workspaces_directory (#13529)
ENHANCEMENTS
- provider: Always enable shared configuration file support (no longer require
AWS_SDK_LOAD_CONFIG
environment variable) (#14077) - provider: Add
assume_role
configuration blockduration_seconds
,policy_arns
,tags
, andtransitive_tag_keys
arguments (#14077) - data-source/aws_instance: Add
secondary_private_ips
attribute (#14079) - data-source/aws_s3_bucket: Replace
GetBucketLocation
API call with custom HTTP call for FIPS endpoint support (#14221) - resource/aws_acm_certificate: Enable
domain_validation_options
usage in downstream resourcecount
andfor_each
references (#14199) - resource/aws_api_gateway_authorizer: Add plan-time validation to
authorizer_credentials
argument (#12643) - resource/aws_api_gateway_method_settings: Add import support (#14266)
- resource/aws_apigatewayv2_integration: Add
request_parameters
attribute (#14080) - resource/aws_apigatewayv2_integration: Add
tls_config
attribute (#13013) - resource/aws_apigatewayv2_route: Support for updating route key (#13833)
- resource/aws_apigatewayv2_stage: Make
deployment_id
aComputed
attribute (#13644) - resource/aws_fsx_lustre_file_system: Add
deployment_type
andper_unit_storage_throughput
attributes (#13639) - resource_aws_fsx_windows_file_system - add
storage_type
argument. (#14316) - resource_aws_fsx_windows_file_system: add support for multi-az (#12676)
- resource_aws_fsx_windows_file_system: add
SINGLE_AZ_2
deployment type (#12676) - resource_aws_fsx_windows_file_system: adds
preferred_file_server_ip
,remote_administration_endpoint
attributes (#12676) - resource/aws_instance: Add
secondary_private_ips
argument (conflicts withnetwork_interface
configuration block) (#14079)
BUG FIXES
- provider: Ensure nil is not passed to RetryError helpers, may result in some bug fixes (#14104)
- provider: Ensure configured STS endpoint is used during
AssumeRole
API calls (#14077) - provider: Prefer AWS shared configuration over EC2 metadata credentials by default (#14077)
- provider: Prefer CodeBuild, ECS, EKS credentials over EC2 metadata credentials by default (#14077)
- data-source/aws_lb:
enable_http2
now properly set (#14167) - resource/aws_acm_certificate: Prevent unexpected ordering differences with
domain_validation_options
attribute (#14199) - resource/aws_api_gateway_authorizer: Allow
authorizer_result_ttl_in_seconds
to be set to 0 (#12643) - resource/aws_apigatewayv2_integration: Correctly handle the
integration_method
attribute for AWS Lambda integrations(#13266) - resource/aws_apigatewayv2_integration: Correctly handle the
passthrough_behavior
attribute for HTTP APIs (#13062) - resource/aws_apigatewayv2_stage: Correctly handle
default_route_setting
androute_setting
data_trace_enabled
andlogging_level
for HTTP APIs.logging_level
is nowComputed
, meaning Terraform will only perform drift detection of its value when present in a configuration. (#13809) - resource/aws_appautoscaling_target: Only retry
DeregisterScalableTarget
retries on all errors on deletion (#14259) - resource/aws_dx_gateway_association: Increase default create/update/delete timeouts to 30 minutes (#14144)
- resource/aws_codepipeline: Only retry
CreatePipeline
errors for IAM eventual consistency errors (#14264) - resource/aws_elasticsearch_domain: Update method to properly set
advanced_security_options
(#14167) - resource/aws_lambda_function: Increase IAM retry timeout for creation to standard 2 minute timeout (#14291)
- resource/aws_lb_cookie_stickiness_policy:
lb_port
now properly set (#14167) - resource/aws_network_acl_rule: Immediately return
DescribeNetworkAcls
errors on creation (#14261) - resource/aws_s3_bucket: Replace
GetBucketLocation
API call with custom HTTP call for FIPS endpoint support (#14221) - resource/aws_sns_topic_subscription: Immediately return
ListSubscriptionsByTopic
errors (#14262) - resource/aws_spot_fleet_request: Only retry
RequestSpotFleet
on IAM eventual consistency errors and use standard 2 minute timeout (#14265) - resource/aws_spot_instance_request:
primary_network_interface_id
now properly set (#14167) - resource/aws_ssm_activation: Only retry
CreateActivation
on IAM eventual consistency errors and use standard 2 minute timeout (#14263) - resource/aws_ssm_association:
parameters
now properly set (#14167)
For information on prior major releases, see their changelogs: