-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add TF_LOG support * add TF_LOG support * use v1.1 of sns-teams-relay * allow getpolicy * allow getpolicy * allow getpolicyversion * add getpolicy,getpolicyversion for apply * rename, rm vars; some docs
- Loading branch information
1 parent
2e74b6e
commit 3f3dd15
Showing
9 changed files
with
91 additions
and
30 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,81 @@ | ||
variable "teams_webhook_url" { | ||
type = string | ||
sensitive = true | ||
description = "URL of the Teams webhook where notifications should be sent" | ||
} | ||
|
||
variable "github_codestarconnections_connection_arn" { | ||
type = string | ||
type = string | ||
description = "ARN of the Github.com configuration that has read access to the git repo named in github_repo" | ||
} | ||
|
||
variable "namespace" { | ||
type = string | ||
type = string | ||
description = "prefix used for naming resources created by this module" | ||
} | ||
|
||
variable "terraform_state_bucket" { | ||
type = string | ||
type = string | ||
description = "name of the S3 bucket were Terraform remote state for the target resources can be found" | ||
} | ||
|
||
variable "terraform_state_key" { | ||
type = string | ||
type = string | ||
description = "key/prefix of the S3 object holding Terraform remote state for the target resources" | ||
} | ||
|
||
variable "github_repo" { | ||
type = string | ||
type = string | ||
description = "reference to the Github repo holding the target Terraform resource configuration; r.g., my-org/my-repo" | ||
} | ||
|
||
variable "git_branch" { | ||
type = string | ||
description = "git branch or tag in the repo holding the target Terraform resource configuration" | ||
default = "main" | ||
} | ||
|
||
variable "environment" { | ||
type = string | ||
default = "production" | ||
} | ||
|
||
variable "global_tags" { | ||
type = map | ||
default = {} | ||
type = map | ||
description = "map of tags to be applied to all resources" | ||
default = {} | ||
} | ||
|
||
variable "terraform_version" { | ||
type = string | ||
type = string | ||
description = "Terraform version required by the target resources" | ||
} | ||
|
||
variable "resources_path" { | ||
type = string | ||
default = "resources/" | ||
type = string | ||
description = "relative path of the target resources in the git repo" | ||
default = "resources/" | ||
} | ||
|
||
variable "build_cron" { | ||
type = string | ||
default = "cron(0 12 * * ? *)" | ||
variable "drift_cron" { | ||
type = string | ||
description = "AWS EventBridge cron expression for when drift should be checked" | ||
default = "cron(0 12 * * ? *)" | ||
} | ||
|
||
variable "resource_plan_policy_arns" { | ||
type = list(string) | ||
type = list(string) | ||
description = "ARNs of IAM policies that support Terraform plan on the target resources" | ||
} | ||
|
||
variable "resource_apply_policy_arns" { | ||
type = list(string) | ||
description = "ARNs of IAM policies that support Terraform apply on the target resources" | ||
} | ||
|
||
variable "github_webhook_enabled" { | ||
type = bool | ||
default = false | ||
} | ||
type = bool | ||
description = "Should the plan/apply pipeline be run when commits are made to the target branch?" | ||
default = false | ||
} | ||
|
||
variable "tf_log" { | ||
type = string | ||
description = "value for the TF_LOG variable in Terraform plan/apply operations" | ||
default = null | ||
} |