[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
hashicorp/terraform-provider-aws (aws)
### [`v5.46.0`](https://togithub.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5460-April-18-2024)
[Compare Source](https://togithub.com/hashicorp/terraform-provider-aws/compare/v5.45.0...v5.46.0)
NOTES:
- provider: When using YAML or JSON documents, such as in `template_body` of `aws_cloudformation_stack`, CRLF was previously treated as different from LF but these are now treated as equivalent in many situations ([#14270](https://togithub.com/hashicorp/terraform-provider-aws/issues/14270))
FEATURES:
- **New Resource:** `aws_eip_domain_name` ([#36963](https://togithub.com/hashicorp/terraform-provider-aws/issues/36963))
ENHANCEMENTS:
- data-source/aws_alb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969))
- data-source/aws_eip: Add `ptr_record` attribute ([#36963](https://togithub.com/hashicorp/terraform-provider-aws/issues/36963))
- data-source/aws_iam_policy: Add `attachment_count` attribute ([#36759](https://togithub.com/hashicorp/terraform-provider-aws/issues/36759))
- data-source/aws_lb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969))
- data-source/aws_organizations_organization: Add `master_account_name` attribute ([#36797](https://togithub.com/hashicorp/terraform-provider-aws/issues/36797))
- data-source/aws_vpc_dhcp_options: Add `ipv6_address_preferred_lease_time` attribute ([#36934](https://togithub.com/hashicorp/terraform-provider-aws/issues/36934))
- resource/aws_alb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969))
- resource/aws_autoscaling_group: Add `alarm_specification` to the `instance_refresh.preferences` configuration block ([#36954](https://togithub.com/hashicorp/terraform-provider-aws/issues/36954))
- resource/aws_cloudformation_stack_set: Add retry when creating to potentially help with eventual consistency problems ([#36982](https://togithub.com/hashicorp/terraform-provider-aws/issues/36982))
- resource/aws_cloudfront_origin_access_control: Add `lambda` and `mediapackagev2` as valid values for `origin_access_control_origin_type` ([#34362](https://togithub.com/hashicorp/terraform-provider-aws/issues/34362))
- resource/aws_cloudwatch_event_rule: Add `force_destroy` attribute ([#34905](https://togithub.com/hashicorp/terraform-provider-aws/issues/34905))
- resource/aws_codebuild_project: Add GitLab and GitLab Self Managed support to the `report_build_status` and `build_status_config` arguments ([#36942](https://togithub.com/hashicorp/terraform-provider-aws/issues/36942))
- resource/aws_default_vpc_dhcp_options: Add `ipv6_address_preferred_lease_time` as Computed attribute ([#36934](https://togithub.com/hashicorp/terraform-provider-aws/issues/36934))
- resource/aws_dms_replication_task: Add `resource_identifier` argument ([#36901](https://togithub.com/hashicorp/terraform-provider-aws/issues/36901))
- resource/aws_eip: Add `ptr_record` attribute ([#36963](https://togithub.com/hashicorp/terraform-provider-aws/issues/36963))
- resource/aws_elasticache_serverless_cache: Add `minimum` attribute in `cache_usage_limits.data_storage` and `cache_usage_limits.ecpu_per_second` ([#36766](https://togithub.com/hashicorp/terraform-provider-aws/issues/36766))
- resource/aws_fsx_openzfs_file_system: Add `endpoint_ip_address` attribute ([#36767](https://togithub.com/hashicorp/terraform-provider-aws/issues/36767))
- resource/aws_iam_policy: Add `attachment_count` attribute ([#36759](https://togithub.com/hashicorp/terraform-provider-aws/issues/36759))
- resource/aws_imagebuilder_image: Add `execution_role` and `workflow` arguments ([#36953](https://togithub.com/hashicorp/terraform-provider-aws/issues/36953))
- resource/aws_lb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969))
- resource/aws_mwaa_environment: Add `database_vpc_endpoint_service` and `webserver_vpc_endpoint_service` attributes ([#36903](https://togithub.com/hashicorp/terraform-provider-aws/issues/36903))
- resource/aws_organizations_organization: Add `master_account_name` attribute ([#36797](https://togithub.com/hashicorp/terraform-provider-aws/issues/36797))
- resource/aws_transfer_connector: Add `security_policy_name` argument ([#36893](https://togithub.com/hashicorp/terraform-provider-aws/issues/36893))
- resource/aws_vpc_dhcp_options: Add `ipv6_address_preferred_lease_time` attribute ([#36934](https://togithub.com/hashicorp/terraform-provider-aws/issues/36934))
- resource/aws_vpc_ipam_pool: Add `cascade` argument ([#36898](https://togithub.com/hashicorp/terraform-provider-aws/issues/36898))
BUG FIXES:
- data-source/aws_iam_policy_document: When using multiple principals, sort them to avoid differences based only on order ([#25967](https://togithub.com/hashicorp/terraform-provider-aws/issues/25967))
- resource/aws_appconfig_deployment: Fix `ConflictException` errors on resource Create ([#36980](https://togithub.com/hashicorp/terraform-provider-aws/issues/36980))
- resource/aws_ce_anomaly_monitor: Change `monitor_dimension` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#36773](https://togithub.com/hashicorp/terraform-provider-aws/issues/36773))
- resource/aws_ce_anomaly_subscription: Change `account_id` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#36773](https://togithub.com/hashicorp/terraform-provider-aws/issues/36773))
- resource/aws_cloudformation_stack: CRLF line endings in `template_body` no longer cause erroneous diffs ([#14270](https://togithub.com/hashicorp/terraform-provider-aws/issues/14270))
- resource/aws_db_proxy: Fix `interface conversion: interface {} is nil, not map[string]interface {}` panic when `auth` is empty (`{}`) ([#36967](https://togithub.com/hashicorp/terraform-provider-aws/issues/36967))
- resource/aws_dms_replication_config: Adds validation to `replication_settings` to disallow `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream`. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936))
- resource/aws_dms_replication_config: Suppresses differences in partial `replication_settings` JSON documents. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936))
- resource/aws_dms_replication_task: Adds validation to `replication_task_settings` to disallow `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream`. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936))
- resource/aws_dms_replication_task: Allows leaving `replication_task_settings` unset to use default settings. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936))
- resource/aws_dms_replication_task: Suppresses differences in partial `replication_task_settings` JSON documents. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936))
- resource/aws_fsx_windows_file_system: Fix error `BadRequest: AuditLogDestination must not be provided when auditing is disabled` when updating `audit_log_configuration.0.file_access_audit_log_level` and `audit_log_configuration.0.file_share_access_audit_log_level` to `"DISABLED"` ([#36928](https://togithub.com/hashicorp/terraform-provider-aws/issues/36928))
- resource/aws_glue_job: Mark `number_of_workers` and `worker_type` as optional/computed, preventing persistent differences when `max_capacity` is set. ([#36770](https://togithub.com/hashicorp/terraform-provider-aws/issues/36770))
- resource/aws_iam_user_login_profile: Fix forced re-creation when `password_reset_required` is `true` and initial password reset is completed ([#36926](https://togithub.com/hashicorp/terraform-provider-aws/issues/36926))
- resource/aws_lightsail_distribution: Fix to properly set `certificate_name` on create and update ([#36888](https://togithub.com/hashicorp/terraform-provider-aws/issues/36888))
- resource/aws_vpc_dhcp_options: Fix `NotFound` error handling on delete ([#36933](https://togithub.com/hashicorp/terraform-provider-aws/issues/36933))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.45.0
->5.46.0
Release Notes
hashicorp/terraform-provider-aws (aws)
### [`v5.46.0`](https://togithub.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5460-April-18-2024) [Compare Source](https://togithub.com/hashicorp/terraform-provider-aws/compare/v5.45.0...v5.46.0) NOTES: - provider: When using YAML or JSON documents, such as in `template_body` of `aws_cloudformation_stack`, CRLF was previously treated as different from LF but these are now treated as equivalent in many situations ([#14270](https://togithub.com/hashicorp/terraform-provider-aws/issues/14270)) FEATURES: - **New Resource:** `aws_eip_domain_name` ([#36963](https://togithub.com/hashicorp/terraform-provider-aws/issues/36963)) ENHANCEMENTS: - data-source/aws_alb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969)) - data-source/aws_eip: Add `ptr_record` attribute ([#36963](https://togithub.com/hashicorp/terraform-provider-aws/issues/36963)) - data-source/aws_iam_policy: Add `attachment_count` attribute ([#36759](https://togithub.com/hashicorp/terraform-provider-aws/issues/36759)) - data-source/aws_lb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969)) - data-source/aws_organizations_organization: Add `master_account_name` attribute ([#36797](https://togithub.com/hashicorp/terraform-provider-aws/issues/36797)) - data-source/aws_vpc_dhcp_options: Add `ipv6_address_preferred_lease_time` attribute ([#36934](https://togithub.com/hashicorp/terraform-provider-aws/issues/36934)) - resource/aws_alb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969)) - resource/aws_autoscaling_group: Add `alarm_specification` to the `instance_refresh.preferences` configuration block ([#36954](https://togithub.com/hashicorp/terraform-provider-aws/issues/36954)) - resource/aws_cloudformation_stack_set: Add retry when creating to potentially help with eventual consistency problems ([#36982](https://togithub.com/hashicorp/terraform-provider-aws/issues/36982)) - resource/aws_cloudfront_origin_access_control: Add `lambda` and `mediapackagev2` as valid values for `origin_access_control_origin_type` ([#34362](https://togithub.com/hashicorp/terraform-provider-aws/issues/34362)) - resource/aws_cloudwatch_event_rule: Add `force_destroy` attribute ([#34905](https://togithub.com/hashicorp/terraform-provider-aws/issues/34905)) - resource/aws_codebuild_project: Add GitLab and GitLab Self Managed support to the `report_build_status` and `build_status_config` arguments ([#36942](https://togithub.com/hashicorp/terraform-provider-aws/issues/36942)) - resource/aws_default_vpc_dhcp_options: Add `ipv6_address_preferred_lease_time` as Computed attribute ([#36934](https://togithub.com/hashicorp/terraform-provider-aws/issues/36934)) - resource/aws_dms_replication_task: Add `resource_identifier` argument ([#36901](https://togithub.com/hashicorp/terraform-provider-aws/issues/36901)) - resource/aws_eip: Add `ptr_record` attribute ([#36963](https://togithub.com/hashicorp/terraform-provider-aws/issues/36963)) - resource/aws_elasticache_serverless_cache: Add `minimum` attribute in `cache_usage_limits.data_storage` and `cache_usage_limits.ecpu_per_second` ([#36766](https://togithub.com/hashicorp/terraform-provider-aws/issues/36766)) - resource/aws_fsx_openzfs_file_system: Add `endpoint_ip_address` attribute ([#36767](https://togithub.com/hashicorp/terraform-provider-aws/issues/36767)) - resource/aws_iam_policy: Add `attachment_count` attribute ([#36759](https://togithub.com/hashicorp/terraform-provider-aws/issues/36759)) - resource/aws_imagebuilder_image: Add `execution_role` and `workflow` arguments ([#36953](https://togithub.com/hashicorp/terraform-provider-aws/issues/36953)) - resource/aws_lb: Add `client_keep_alive` argument ([#36969](https://togithub.com/hashicorp/terraform-provider-aws/issues/36969)) - resource/aws_mwaa_environment: Add `database_vpc_endpoint_service` and `webserver_vpc_endpoint_service` attributes ([#36903](https://togithub.com/hashicorp/terraform-provider-aws/issues/36903)) - resource/aws_organizations_organization: Add `master_account_name` attribute ([#36797](https://togithub.com/hashicorp/terraform-provider-aws/issues/36797)) - resource/aws_transfer_connector: Add `security_policy_name` argument ([#36893](https://togithub.com/hashicorp/terraform-provider-aws/issues/36893)) - resource/aws_vpc_dhcp_options: Add `ipv6_address_preferred_lease_time` attribute ([#36934](https://togithub.com/hashicorp/terraform-provider-aws/issues/36934)) - resource/aws_vpc_ipam_pool: Add `cascade` argument ([#36898](https://togithub.com/hashicorp/terraform-provider-aws/issues/36898)) BUG FIXES: - data-source/aws_iam_policy_document: When using multiple principals, sort them to avoid differences based only on order ([#25967](https://togithub.com/hashicorp/terraform-provider-aws/issues/25967)) - resource/aws_appconfig_deployment: Fix `ConflictException` errors on resource Create ([#36980](https://togithub.com/hashicorp/terraform-provider-aws/issues/36980)) - resource/aws_ce_anomaly_monitor: Change `monitor_dimension` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#36773](https://togithub.com/hashicorp/terraform-provider-aws/issues/36773)) - resource/aws_ce_anomaly_subscription: Change `account_id` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew) ([#36773](https://togithub.com/hashicorp/terraform-provider-aws/issues/36773)) - resource/aws_cloudformation_stack: CRLF line endings in `template_body` no longer cause erroneous diffs ([#14270](https://togithub.com/hashicorp/terraform-provider-aws/issues/14270)) - resource/aws_db_proxy: Fix `interface conversion: interface {} is nil, not map[string]interface {}` panic when `auth` is empty (`{}`) ([#36967](https://togithub.com/hashicorp/terraform-provider-aws/issues/36967)) - resource/aws_dms_replication_config: Adds validation to `replication_settings` to disallow `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream`. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936)) - resource/aws_dms_replication_config: Suppresses differences in partial `replication_settings` JSON documents. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936)) - resource/aws_dms_replication_task: Adds validation to `replication_task_settings` to disallow `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream`. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936)) - resource/aws_dms_replication_task: Allows leaving `replication_task_settings` unset to use default settings. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936)) - resource/aws_dms_replication_task: Suppresses differences in partial `replication_task_settings` JSON documents. ([#36936](https://togithub.com/hashicorp/terraform-provider-aws/issues/36936)) - resource/aws_fsx_windows_file_system: Fix error `BadRequest: AuditLogDestination must not be provided when auditing is disabled` when updating `audit_log_configuration.0.file_access_audit_log_level` and `audit_log_configuration.0.file_share_access_audit_log_level` to `"DISABLED"` ([#36928](https://togithub.com/hashicorp/terraform-provider-aws/issues/36928)) - resource/aws_glue_job: Mark `number_of_workers` and `worker_type` as optional/computed, preventing persistent differences when `max_capacity` is set. ([#36770](https://togithub.com/hashicorp/terraform-provider-aws/issues/36770)) - resource/aws_iam_user_login_profile: Fix forced re-creation when `password_reset_required` is `true` and initial password reset is completed ([#36926](https://togithub.com/hashicorp/terraform-provider-aws/issues/36926)) - resource/aws_lightsail_distribution: Fix to properly set `certificate_name` on create and update ([#36888](https://togithub.com/hashicorp/terraform-provider-aws/issues/36888)) - resource/aws_vpc_dhcp_options: Fix `NotFound` error handling on delete ([#36933](https://togithub.com/hashicorp/terraform-provider-aws/issues/36933))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.