Skip to content

Commit

Permalink
Merge pull request #330 from coveooss/pr-from-v5.80.0
Browse files Browse the repository at this point in the history
chore: Update from hashicorp/terraform-provider-aws (v5.80.0)
  • Loading branch information
nicolegros authored Dec 5, 2024
2 parents 82c89a7 + bf950ea commit d91d7d3
Show file tree
Hide file tree
Showing 178 changed files with 14,437 additions and 661 deletions.
3 changes: 3 additions & 0 deletions .changelog/35359.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_dynamodb_table_replica: Add `deletion_protection_enabled` argument
```
3 changes: 3 additions & 0 deletions .changelog/40230.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_rds_cluster: Adjust `serverlessv2_scaling_configuration.max_capacity` and `serverlessv2_scaling_configuration.min_capacity` minimum values to `0` to support Amazon Aurora Serverless v2 scaling to 0 ACUs
```
3 changes: 3 additions & 0 deletions .changelog/40279.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_bedrockagent_agent: Increase `instruction` max length for validation to 8000
```
7 changes: 7 additions & 0 deletions .changelog/40300.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:new-resource
aws_codeconnections_connection
```

```release-note:new-resource
aws_codeconnections_host
```
3 changes: 3 additions & 0 deletions .changelog/40305.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_bedrock_provisioned_model_throughput: Properly manages `tags_all` when planning.
```
3 changes: 3 additions & 0 deletions .changelog/40339.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_s3_directory_bucket: Support `LocalZone` as a valid value for `location.type`, enabling support for [Amazon S3 Express One Zone in AWS Dedicated Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-data-residency.html)
```
3 changes: 3 additions & 0 deletions .changelog/40409.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_rds_cluster_instance: Fix error when destroying from a read replica cluster
```
3 changes: 3 additions & 0 deletions .changelog/40419.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_connect_contact_flow: Fix `deserialization failed, failed to decode response body with invalid JSON` errors on Read
```
19 changes: 19 additions & 0 deletions .changelog/40420.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
```release-note:new-resource
aws_s3tables_namespace
```

```release-note:new-resource
aws_s3tables_table_bucket
```

```release-note:new-resource
aws_s3tables_table_bucket_policy
```

```release-note:new-resource
aws_s3tables_table
```

```release-note:new-resource
aws_s3tables_table_policy
```
15 changes: 15 additions & 0 deletions .ci/.semgrep-service-name0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4315,3 +4315,18 @@ rules:
- focus-metavariable: $NAME
- pattern-not: func $NAME($T *testing.T)
severity: WARNING
- id: connect-in-test-name
languages:
- go
message: Include "Connect" in test name
paths:
include:
- internal/service/connect/*_test.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-not-regex: "^TestAccConnect"
- pattern-regex: ^TestAcc.*
severity: WARNING
47 changes: 32 additions & 15 deletions .ci/.semgrep-service-name1.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
rules:
- id: connect-in-test-name
languages:
- go
message: Include "Connect" in test name
paths:
include:
- internal/service/connect/*_test.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-not-regex: "^TestAccConnect"
- pattern-regex: ^TestAcc.*
severity: WARNING
- id: connect-in-const-name
languages:
- go
Expand Down Expand Up @@ -4305,3 +4290,35 @@ rules:
patterns:
- pattern-regex: "(?i)IoTAnalytics"
severity: WARNING
- id: iotanalytics-in-var-name
languages:
- go
message: Do not use "IoTAnalytics" in var name inside iotanalytics package
paths:
include:
- internal/service/iotanalytics
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IoTAnalytics"
severity: WARNING
- id: iotevents-in-func-name
languages:
- go
message: Do not use "IoTEvents" in func name inside iotevents package
paths:
include:
- internal/service/iotevents
exclude:
- internal/service/iotevents/list_pages_gen.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IoTEvents"
- focus-metavariable: $NAME
- pattern-not: func $NAME($T *testing.T)
severity: WARNING
79 changes: 47 additions & 32 deletions .ci/.semgrep-service-name2.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,5 @@
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
rules:
- id: iotanalytics-in-var-name
languages:
- go
message: Do not use "IoTAnalytics" in var name inside iotanalytics package
paths:
include:
- internal/service/iotanalytics
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IoTAnalytics"
severity: WARNING
- id: iotevents-in-func-name
languages:
- go
message: Do not use "IoTEvents" in func name inside iotevents package
paths:
include:
- internal/service/iotevents
exclude:
- internal/service/iotevents/list_pages_gen.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IoTEvents"
- focus-metavariable: $NAME
- pattern-not: func $NAME($T *testing.T)
severity: WARNING
- id: iotevents-in-test-name
languages:
- go
Expand Down Expand Up @@ -4308,3 +4276,50 @@ rules:
patterns:
- pattern-regex: "(?i)Redshift"
severity: WARNING
- id: redshiftdata-in-func-name
languages:
- go
message: Do not use "RedshiftData" in func name inside redshiftdata package
paths:
include:
- internal/service/redshiftdata
exclude:
- internal/service/redshiftdata/list_pages_gen.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)RedshiftData"
- focus-metavariable: $NAME
- pattern-not: func $NAME($T *testing.T)
severity: WARNING
- id: redshiftdata-in-test-name
languages:
- go
message: Include "RedshiftData" in test name
paths:
include:
- internal/service/redshiftdata/*_test.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-not-regex: "^TestAccRedshiftData"
- pattern-regex: ^TestAcc.*
severity: WARNING
- id: redshiftdata-in-const-name
languages:
- go
message: Do not use "RedshiftData" in const name inside redshiftdata package
paths:
include:
- internal/service/redshiftdata
patterns:
- pattern: const $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)RedshiftData"
severity: WARNING
108 changes: 61 additions & 47 deletions .ci/.semgrep-service-name3.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,5 @@
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
rules:
- id: redshiftdata-in-func-name
languages:
- go
message: Do not use "RedshiftData" in func name inside redshiftdata package
paths:
include:
- internal/service/redshiftdata
exclude:
- internal/service/redshiftdata/list_pages_gen.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)RedshiftData"
- focus-metavariable: $NAME
- pattern-not: func $NAME($T *testing.T)
severity: WARNING
- id: redshiftdata-in-test-name
languages:
- go
message: Include "RedshiftData" in test name
paths:
include:
- internal/service/redshiftdata/*_test.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-not-regex: "^TestAccRedshiftData"
- pattern-regex: ^TestAcc.*
severity: WARNING
- id: redshiftdata-in-const-name
languages:
- go
message: Do not use "RedshiftData" in const name inside redshiftdata package
paths:
include:
- internal/service/redshiftdata
patterns:
- pattern: const $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)RedshiftData"
severity: WARNING
- id: redshiftdata-in-var-name
languages:
- go
Expand Down Expand Up @@ -1236,6 +1189,67 @@ rules:
patterns:
- pattern-regex: "(?i)S3Outposts"
severity: WARNING
- id: s3tables-in-func-name
languages:
- go
message: Do not use "S3Tables" in func name inside s3tables package
paths:
include:
- internal/service/s3tables
exclude:
- internal/service/s3tables/list_pages_gen.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)S3Tables"
- focus-metavariable: $NAME
- pattern-not: func $NAME($T *testing.T)
severity: WARNING
- id: s3tables-in-test-name
languages:
- go
message: Include "S3Tables" in test name
paths:
include:
- internal/service/s3tables/*_test.go
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-not-regex: "^TestAccS3Tables"
- pattern-regex: ^TestAcc.*
severity: WARNING
- id: s3tables-in-const-name
languages:
- go
message: Do not use "S3Tables" in const name inside s3tables package
paths:
include:
- internal/service/s3tables
patterns:
- pattern: const $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)S3Tables"
severity: WARNING
- id: s3tables-in-var-name
languages:
- go
message: Do not use "S3Tables" in var name inside s3tables package
paths:
include:
- internal/service/s3tables
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)S3Tables"
severity: WARNING
- id: sagemaker-in-func-name
languages:
- go
Expand Down
1 change: 1 addition & 0 deletions .ci/semgrep/aws/go-sdk-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ rules:
- metavariable-regex:
metavariable: "$X"
regex: '^github.com/aws/aws-sdk-go/.+$'
- focus-metavariable: $X
severity: WARNING

- id: aws-sdk-go-base-awsv1shim-imports
Expand Down
1 change: 1 addition & 0 deletions .teamcity/components/generated/services_all.kt
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ val services = mapOf(
"s3" to ServiceSpec("S3 (Simple Storage)"),
"s3control" to ServiceSpec("S3 Control"),
"s3outposts" to ServiceSpec("S3 on Outposts"),
"s3tables" to ServiceSpec("S3 Tables"),
"sagemaker" to ServiceSpec("SageMaker", vpcLock = true),
"scheduler" to ServiceSpec("EventBridge Scheduler"),
"schemas" to ServiceSpec("EventBridge Schemas"),
Expand Down
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
## 5.79.0 (Unreleased)
## 5.80.0 (Unreleased)

FEATURES:

* **New Resource:** `aws_codeconnections_connection` ([#40300](https://github.com/hashicorp/terraform-provider-aws/issues/40300))
* **New Resource:** `aws_codeconnections_host` ([#40300](https://github.com/hashicorp/terraform-provider-aws/issues/40300))
* **New Resource:** `aws_s3tables_namespace` ([#40420](https://github.com/hashicorp/terraform-provider-aws/issues/40420))
* **New Resource:** `aws_s3tables_table` ([#40420](https://github.com/hashicorp/terraform-provider-aws/issues/40420))
* **New Resource:** `aws_s3tables_table_bucket` ([#40420](https://github.com/hashicorp/terraform-provider-aws/issues/40420))
* **New Resource:** `aws_s3tables_table_bucket_policy` ([#40420](https://github.com/hashicorp/terraform-provider-aws/issues/40420))
* **New Resource:** `aws_s3tables_table_policy` ([#40420](https://github.com/hashicorp/terraform-provider-aws/issues/40420))

ENHANCEMENTS:

* resource/aws_bedrockagent_agent: Increase `instruction` max length for validation to 8000 ([#40279](https://github.com/hashicorp/terraform-provider-aws/issues/40279))
* resource/aws_dynamodb_table_replica: Add `deletion_protection_enabled` argument ([#35359](https://github.com/hashicorp/terraform-provider-aws/issues/35359))
* resource/aws_rds_cluster: Adjust `serverlessv2_scaling_configuration.max_capacity` and `serverlessv2_scaling_configuration.min_capacity` minimum values to `0` to support Amazon Aurora Serverless v2 scaling to 0 ACUs ([#40230](https://github.com/hashicorp/terraform-provider-aws/issues/40230))
* resource/aws_s3_directory_bucket: Support `LocalZone` as a valid value for `location.type`, enabling support for [Amazon S3 Express One Zone in AWS Dedicated Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-data-residency.html) ([#40339](https://github.com/hashicorp/terraform-provider-aws/issues/40339))

BUG FIXES:

* resource/aws_bedrock_provisioned_model_throughput: Properly manages `tags_all` when planning. ([#40305](https://github.com/hashicorp/terraform-provider-aws/issues/40305))
* resource/aws_connect_contact_flow: Fix `deserialization failed, failed to decode response body with invalid JSON` errors on Read ([#40419](https://github.com/hashicorp/terraform-provider-aws/issues/40419))
* resource/aws_rds_cluster_instance: Fix error when destroying from a read replica cluster ([#40409](https://github.com/hashicorp/terraform-provider-aws/issues/40409))

## 5.79.0 (December 3, 2024)

FEATURES:

Expand Down
Loading

0 comments on commit d91d7d3

Please sign in to comment.