-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from turbot/release/v1.0.0
Release/v1.0.0
- Loading branch information
Showing
130 changed files
with
955 additions
and
697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Common descriptions | ||
locals { | ||
cred_param_description = "Name for credentials to use. If not provided, the default credentials will be used." | ||
conn_param_description = "Name of AWS connection to use. If not provided, the default AWS connection will be used." | ||
region_param_description = "The name of the Region." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
pipeline "delete_alternate_contact" { | ||
title = "Delete Alternate Contact" | ||
description = "Delete an alternate contact for an AWS account." | ||
|
||
param "conn" { | ||
type = connection.aws | ||
description = local.conn_param_description | ||
default = connection.aws.default | ||
} | ||
|
||
param "alternate_contact_type" { | ||
type = string | ||
description = "The type of alternate contact (BILLING, OPERATIONS, SECURITY)." | ||
} | ||
|
||
step "container" "delete_alternate_contact" { | ||
image = "public.ecr.aws/aws-cli/aws-cli" | ||
|
||
cmd = concat( | ||
["account", "delete-alternate-contact"], | ||
["--alternate-contact-type", param.alternate_contact_type] | ||
) | ||
|
||
env = param.conn.env | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
pipeline "delete_cloudtrail_trail" { | ||
title = "Delete CloudTrail Trail" | ||
description = "Delete a trail with specified name." | ||
|
||
param "region" { | ||
type = string | ||
description = local.region_param_description | ||
} | ||
|
||
param "conn" { | ||
type = connection.aws | ||
description = local.conn_param_description | ||
default = connection.aws.default | ||
} | ||
|
||
param "name" { | ||
type = string | ||
description = "The name of the trail." | ||
} | ||
|
||
step "container" "delete_cloudtrail_trail" { | ||
image = "public.ecr.aws/aws-cli/aws-cli" | ||
|
||
cmd = concat( | ||
["cloudtrail", "delete-trail", "--name", param.name] | ||
) | ||
|
||
env = merge(param.conn.env, { AWS_REGION = param.region }) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.