Skip to content

Commit

Permalink
Use GitHub Secret for AWS account id
Browse files Browse the repository at this point in the history
  • Loading branch information
JN-Hernandez committed Mar 7, 2024
1 parent 3904b2b commit abf7c90
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deployment/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
variable "account_id" {
default = "123456789012"
type = string
type = string
sensitive = true
}

data "github_actions_secret" "AWS_ACCOUNT_ID" {
secret_name = "AWS_ACCOUNT_ID"
}

variable "aws_region" {
Expand Down

0 comments on commit abf7c90

Please sign in to comment.