From abf7c90317ad6b3d2f9332fa1f2774aa2e6f106d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JN=20Hern=C3=A1ndez?= Date: Thu, 7 Mar 2024 12:37:42 -0700 Subject: [PATCH] Use GitHub Secret for AWS account id --- deployment/variables.tf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deployment/variables.tf b/deployment/variables.tf index 119f432..f80d6c3 100644 --- a/deployment/variables.tf +++ b/deployment/variables.tf @@ -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" {