Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Service Client: Audit Manager #18071

Merged
merged 1 commit into from
Mar 17, 2021
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
8 changes: 8 additions & 0 deletions .hashibot.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ behavior "regexp_issue_labeler_v2" "service_labels" {
"service/athena" = [
"aws_athena_",
],
"service/auditmanager" = [
"aws_auditmanager_",
],
"service/autoscaling" = [
"aws_autoscaling_",
"aws_launch_configuration",
Expand Down Expand Up @@ -740,6 +743,11 @@ behavior "pull_request_path_labeler" "service_labels" {
"**/*_athena_*",
"**/athena_*"
]
"service/auditmanager" = [
"aws/internal/service/auditmanager/**/*",
"**/*_auditmanager_*",
"**/auditmanager_*"
]
"service/autoscaling" = [
"aws/internal/service/autoscaling/**/*",
"**/*_autoscaling_*",
Expand Down
3 changes: 3 additions & 0 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"github.com/aws/aws-sdk-go/service/appstream"
"github.com/aws/aws-sdk-go/service/appsync"
"github.com/aws/aws-sdk-go/service/athena"
"github.com/aws/aws-sdk-go/service/auditmanager"
"github.com/aws/aws-sdk-go/service/autoscaling"
"github.com/aws/aws-sdk-go/service/autoscalingplans"
"github.com/aws/aws-sdk-go/service/backup"
Expand Down Expand Up @@ -219,6 +220,7 @@ type AWSClient struct {
appstreamconn *appstream.AppStream
appsyncconn *appsync.AppSync
athenaconn *athena.Athena
auditmanagerconn *auditmanager.AuditManager
autoscalingconn *autoscaling.AutoScaling
autoscalingplansconn *autoscalingplans.AutoScalingPlans
backupconn *backup.Backup
Expand Down Expand Up @@ -462,6 +464,7 @@ func (c *Config) Client() (interface{}, error) {
appstreamconn: appstream.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["appstream"])})),
appsyncconn: appsync.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["appsync"])})),
athenaconn: athena.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["athena"])})),
auditmanagerconn: auditmanager.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["auditmanager"])})),
autoscalingconn: autoscaling.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["autoscaling"])})),
autoscalingplansconn: autoscalingplans.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["autoscalingplans"])})),
backupconn: backup.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["backup"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@ func init() {
"appstream",
"appsync",
"athena",
"auditmanager",
"autoscaling",
"autoscalingplans",
"backup",
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 @@ -22,6 +22,7 @@ variable "service_labels" {
"appstream",
"appsync",
"athena",
"auditmanager",
"autoscaling",
"autoscalingplans",
"backup",
Expand Down
1 change: 1 addition & 0 deletions website/allowed-subcategories.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AppMesh
AppSync
Application Autoscaling
Athena
Audit Manager
Autoscaling
Autoscaling Plans
Amazon Managed Service for Prometheus (AMP)
Expand Down
1 change: 1 addition & 0 deletions website/docs/guides/custom-service-endpoints.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The Terraform AWS Provider allows the following endpoints to be customized:
<li><code>appstream</code></li>
<li><code>appsync</code></li>
<li><code>athena</code></li>
<li><code>auditmanager</code></li>
<li><code>autoscaling</code></li>
<li><code>autoscalingplans</code></li>
<li><code>backup</code></li>
Expand Down