Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .ci/.semgrep-service-name0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4498,3 +4498,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
43 changes: 28 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 @@ -4489,3 +4474,31 @@ rules:
- pattern-not-regex: "^TestAccIVS"
- pattern-regex: ^TestAcc.*
severity: WARNING
- id: ivs-in-const-name
languages:
- go
message: Do not use "IVS" in const name inside ivs package
paths:
include:
- "/internal/service/ivs"
patterns:
- pattern: const $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IVS"
severity: WARNING
- id: ivs-in-var-name
languages:
- go
message: Do not use "IVS" in var name inside ivs package
paths:
include:
- "/internal/service/ivs"
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IVS"
severity: WARNING
103 changes: 61 additions & 42 deletions .ci/.semgrep-service-name2.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,5 @@
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
rules:
- id: ivs-in-const-name
languages:
- go
message: Do not use "IVS" in const name inside ivs package
paths:
include:
- "/internal/service/ivs"
patterns:
- pattern: const $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IVS"
severity: WARNING
- id: ivs-in-var-name
languages:
- go
message: Do not use "IVS" in var name inside ivs package
paths:
include:
- "/internal/service/ivs"
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)IVS"
severity: WARNING
- id: ivschat-in-func-name
languages:
- go
Expand Down Expand Up @@ -2363,6 +2335,67 @@ rules:
patterns:
- pattern-regex: "(?i)MWAA"
severity: WARNING
- id: mwaaserverless-in-func-name
languages:
- go
message: Do not use "MWAAServerless" in func name inside mwaaserverless package
paths:
include:
- "/internal/service/mwaaserverless"
exclude:
- "/internal/service/mwaaserverless/list_pages_gen.go"
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)MWAAServerless"
- focus-metavariable: $NAME
- pattern-not: func $NAME($T *testing.T)
severity: WARNING
- id: mwaaserverless-in-test-name
languages:
- go
message: Include "MWAAServerless" in test name
paths:
include:
- "/internal/service/mwaaserverless/*_test.go"
patterns:
- pattern: func $NAME( ... )
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-not-regex: "^TestAccMWAAServerless"
- pattern-regex: ^TestAcc.*
severity: WARNING
- id: mwaaserverless-in-const-name
languages:
- go
message: Do not use "MWAAServerless" in const name inside mwaaserverless package
paths:
include:
- "/internal/service/mwaaserverless"
patterns:
- pattern: const $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)MWAAServerless"
severity: WARNING
- id: mwaaserverless-in-var-name
languages:
- go
message: Do not use "MWAAServerless" in var name inside mwaaserverless package
paths:
include:
- "/internal/service/mwaaserverless"
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)MWAAServerless"
severity: WARNING
- id: neptune-in-func-name
languages:
- go
Expand Down Expand Up @@ -4476,17 +4509,3 @@ rules:
patterns:
- pattern-regex: "(?i)rdsdataservice"
severity: WARNING
- id: rdsdataservice-in-var-name
languages:
- go
message: Do not use "rdsdataservice" in var name inside rdsdata package
paths:
include:
- "/internal/service/rdsdata"
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)rdsdataservice"
severity: WARNING
14 changes: 14 additions & 0 deletions .ci/.semgrep-service-name3.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
rules:
- id: rdsdataservice-in-var-name
languages:
- go
message: Do not use "rdsdataservice" in var name inside rdsdata package
paths:
include:
- "/internal/service/rdsdata"
patterns:
- pattern: var $NAME = ...
- metavariable-pattern:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)rdsdataservice"
severity: WARNING
- id: recyclebin-in-func-name
languages:
- go
Expand Down
2 changes: 2 additions & 0 deletions .github/labeler-issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,8 @@ service/mturk:
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_mturk_'
service/mwaa:
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_mwaa_'
service/mwaaserverless:
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_mwaaserverless_'
service/neptune:
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_neptune_'
service/neptunegraph:
Expand Down
6 changes: 6 additions & 0 deletions .github/labeler-pr-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1562,6 +1562,12 @@ service/mwaa:
- any-glob-to-any-file:
- 'internal/service/mwaa/**/*'
- 'website/**/mwaa_*'
service/mwaaserverless:
- any:
- changed-files:
- any-glob-to-any-file:
- 'internal/service/mwaaserverless/**/*'
- 'website/**/mwaaserverless_*'
service/neptune:
- any:
- changed-files:
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 @@ -156,6 +156,7 @@ val services = mapOf(
"mgn" to ServiceSpec("Application Migration (Mgn)"),
"mq" to ServiceSpec("MQ", vpcLock = true),
"mwaa" to ServiceSpec("MWAA (Managed Workflows for Apache Airflow)", vpcLock = true),
"mwaaserverless" to ServiceSpec("MWAA (Managed Workflows for Apache Airflow) Serverless"),
"neptune" to ServiceSpec("Neptune"),
"neptunegraph" to ServiceSpec("Neptune Analytics"),
"networkfirewall" to ServiceSpec("Network Firewall", vpcLock = true),
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/mgn v1.38.6
github.com/aws/aws-sdk-go-v2/service/mq v1.34.12
github.com/aws/aws-sdk-go-v2/service/mwaa v1.39.14
github.com/aws/aws-sdk-go-v2/service/mwaaserverless v1.0.2
github.com/aws/aws-sdk-go-v2/service/neptune v1.43.5
github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.21.13
github.com/aws/aws-sdk-go-v2/service/networkfirewall v1.59.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ github.com/aws/aws-sdk-go-v2/service/mq v1.34.12 h1:X5YG0vWl7QwZQwqjlwGnpo/zpzE4
github.com/aws/aws-sdk-go-v2/service/mq v1.34.12/go.mod h1:dp1WwnKbfltN4RJ39DIu2HFIif7DoZIQ1EsfB8BGUWA=
github.com/aws/aws-sdk-go-v2/service/mwaa v1.39.14 h1:LygCvXSau4Y1aeEyVHV4qUKAEZkttcwqV/MBXCw4Nzc=
github.com/aws/aws-sdk-go-v2/service/mwaa v1.39.14/go.mod h1:06+ehiGrk+iaZXv4/BaooFPq8XRvmw4VWnxuNPoX6SM=
github.com/aws/aws-sdk-go-v2/service/mwaaserverless v1.0.2 h1:s/vHYmoo0bFKWOMC5aAD8KR6e5mw8zFhxo2YLaxyxh4=
github.com/aws/aws-sdk-go-v2/service/mwaaserverless v1.0.2/go.mod h1:+FkUp9Aq1PTm+Bj4ONYYw8mbMC1FpeLsgMBQwiBj9KM=
github.com/aws/aws-sdk-go-v2/service/neptune v1.43.5 h1:5jmpqUUhLFrZrQ2gp+ZIBlNoiJrgWGp7tdC+F8s20ao=
github.com/aws/aws-sdk-go-v2/service/neptune v1.43.5/go.mod h1:u/db+lzLiyv8jAQe0S6t74UVXhqRGvB5tTkFBzmJ9Eg=
github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.21.13 h1:GAKPfys4AK5vMGWRZqRb6iBuYX2iCX9yHyMTLecYFTU=
Expand Down
1 change: 1 addition & 0 deletions infrastructure/repository/labels-service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ variable "service_labels" {
"mq",
"mturk",
"mwaa",
"mwaaserverless",
"neptune",
"neptunegraph",
"networkfirewall",
Expand Down
5 changes: 5 additions & 0 deletions internal/conns/awsclient_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions internal/provider/framework/provider_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions internal/provider/sdkv2/provider_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions internal/provider/sdkv2/service_packages_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions internal/service/mwaaserverless/generate.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

//go:generate go run ../../generate/tags/main.go -KVTValues -ListTagsOp=ListTags -ServiceTagsMap -UpdateTags
//go:generate go run ../../generate/servicepackage/main.go
// ONLY generate directives and package declaration! Do not add anything else to this file.

package mwaaserverless
Loading
Loading