Add build and deploy actions. #1
@@ -9,7 +9,5 @@ terraform {
|
|||||||
|
|
||||||
# Access AWS through the IaC roles.
|
# Access AWS through the IaC roles.
|
||||||
provider "aws" {
|
provider "aws" {
|
||||||
region = var.aws_region
|
region = "us-east-1"
|
||||||
access_key = var.aws_access
|
|
||||||
secret_key = var.aws_secret
|
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,17 @@
|
|||||||
variable "aws_region" {
|
variable "aws_region" {
|
||||||
type = string
|
type = string
|
||||||
description = "The AWS region things are created in."
|
description = "The AWS region things are created in."
|
||||||
|
sensitive = true
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "aws_access" {
|
variable "aws_access" {
|
||||||
type = string
|
type = string
|
||||||
description = "The access key to generate the Gitea instance."
|
description = "The access key to generate the Gitea instance."
|
||||||
|
sensitive = true
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "aws_secret" {
|
variable "aws_secret" {
|
||||||
type = string
|
type = string
|
||||||
description = "The access secret to generate the Gitea instance."
|
description = "The access secret to generate the Gitea instance."
|
||||||
|
sensitive = true
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user