get rid of profile

This commit is contained in:
Jun-te Kim 2026-02-03 08:22:40 +00:00
parent 45c84c9966
commit cd6681970a
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,5 @@
stage = "dev" stage = "dev"
profile = "DevAdmin" # profile = "DevAdmin"
region = "eu-west-2" region = "eu-west-2"
# Domain # Domain

View file

@ -3,15 +3,12 @@ terraform {
aws = { aws = {
source = "hashicorp/aws" source = "hashicorp/aws"
version = "~> 4.16" version = "~> 4.16"
configuration_aliases = [
aws.aws_use1
]
} }
} }
backend "s3" { backend "s3" {
bucket = "assessment-model-terraform-state" bucket = "assessment-model-terraform-state"
region = "eu-west-2" region = "eu-west-2"
profile = "DevAdmin" # profile = "DevAdmin"
key = "terraform.tfstate" key = "terraform.tfstate"
} }
@ -204,6 +201,7 @@ module "route53" {
} }
} }
# Create an ECR repository for storage of the lambda's docker images # Create an ECR repository for storage of the lambda's docker images
module "ecr" { module "ecr" {
ecr_name = "fastapi-repository-${var.stage}" ecr_name = "fastapi-repository-${var.stage}"