fix: using secrets for aws login

This commit is contained in:
2025-02-18 20:55:13 -05:00
parent 554525c287
commit eb91cf5052
2 changed files with 4 additions and 3 deletions

View File

@@ -9,7 +9,5 @@ terraform {
# Access AWS through the IaC roles.
provider "aws" {
region = var.aws_region
access_key = var.aws_access
secret_key = var.aws_secret
region = "us-east-1"
}

View File

@@ -1,14 +1,17 @@
variable "aws_region" {
type = string
description = "The AWS region things are created in."
sensitive = true
}
variable "aws_access" {
type = string
description = "The access key to generate the Gitea instance."
sensitive = true
}
variable "aws_secret" {
type = string
description = "The access secret to generate the Gitea instance."
sensitive = true
}