aws Terraform AWS Provider Releases · · 6.46.0

Terraform AWS Provider v6.46.0: New resources, enhancements, and bug fixes

terraforminfraawsdeprecationaws-s3
feature patch announcement

Terraform AWS Provider version 6.46.0 introduces several new resources, including ones for AWS Bedrock Agent, IAM Access Keys, and Observability, enhancing IaC capabilities for these services. It also includes significant enhancements to existing resources like AWS Bedrock Agent Runtime and CloudFront distributions, along with crucial bug fixes for S3 buckets and X-Ray resource policies. This release impacts engineers and architects managing AWS infrastructure through Terraform, with specific attention to `aws_xray_resource_policy` requiring recreation for `policy_name` changes.

  • New List Resource: aws_bedrockagentcore_harness
  • New List Resource: aws_iam_access_key
  • New List Resource: aws_observabilityadmin_telemetry_rule_for_organization
  • New List Resource: aws_route53_vpc_association_authorization
  • New List Resource: aws_route53_zone_association
Features (11)
  • aws_bedrockagentcore_harness New List Resource: aws_bedrockagentcore_harness
  • aws_iam_access_key New List Resource: aws_iam_access_key
  • aws_observabilityadmin_telemetry_rule_for_organization New List Resource: aws_observabilityadmin_telemetry_rule_for_organization
  • aws_route53_vpc_association_authorization New List Resource: aws_route53_vpc_association_authorization
  • aws_route53_zone_association New List Resource: aws_route53_zone_association
  • aws_securityhub_automation_rule_v2 New List Resource: aws_securityhub_automation_rule_v2
  • aws_bedrockagentcore_harness New Resource: aws_bedrockagentcore_harness
  • aws_observabilityadmin_telemetry_rule_for_organization New Resource: aws_observabilityadmin_telemetry_rule_for_organization
  • aws_securityhub_automation_rule_v2 New Resource: aws_securityhub_automation_rule_v2
  • aws_xray_indexing_rule New Resource: aws_xray_indexing_rule
  • aws_xray_trace_segment_destination New Resource: aws_xray_trace_segment_destination
Enhancements (11)
  • aws_ec2_local_gateway_virtual_interface Add outpost_lag_id and local_gateway_virtual_interface_group_id attributes
  • aws_opensearch_domain Add jwt_options block to fix "Invalid address to set" error
  • aws_bedrockagent_agent Increase maximum value of idle_session_ttl_in_seconds from 3600 to 5400 to match the AWS API limit
  • aws_bedrockagentcore_agent_runtime

    Add filesystem_configuration argument for mounting session storage, Amazon S3 Files access points, or Amazon EFS access points into the agent runtime

  • aws_cloudfront_distribution Add cache_tag_config configuration block
  • aws_iam_access_key Add resource identity support
  • aws_route53_vpc_association_authorization Add resource identity support
  • aws_route53_zone_association Add resource identity support
  • aws_vpclattice_resource_gateway Add resource_config_dns_resolution argument
  • aws_xray_resource_policy Add Resource Identity support
  • aws_xray_sampling_rule Add Resource Identity support
Fixes (4)
  • aws_s3_bucket

    Defer to the corresponding dedicated standalone resource for each deprecated nested attribute (acceleration_status, acl, cors_rule, grant, lifecycle_rule, logging, object_lock_configuration, policy, replication_configuration, request_payer, server_side_encryption_configuration, versioning, website) when the attribute is not set in configuration, preventing similar fights between the bucket resource and its standalone counterparts

  • aws_s3_bucket

    Fix InvalidRequest: SourceSelectionCriteria cannot be empty errors on unrelated updates (e.g. tags) when replication is managed by the dedicated aws_s3_bucket_replication_configuration resource using replica_modifications

  • aws_xray_resource_policy Fix Provider returned invalid result object after apply errors on Update
  • aws_xray_resource_policy Mark policy_name as as ForceNew
Notes (1)
  • aws_xray_resource_policy

    Changes to policy_name now force resource recreation. Technically this is a breaking change but the resource did not function correctly previously; updating policy_name would leave an orphaned policy with the old name in AWS

Read the original announcement →

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v6.46.0

Related releases