Skip to content

Commit

Permalink
Add some tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianliuwk1019 committed Nov 22, 2023
1 parent e444170 commit 84c9471
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions infrastructure/server/admin_management_api_gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ resource "aws_api_gateway_rest_api" "admin_management_api_gateway_rest_api" {
endpoint_configuration {
types = ["REGIONAL"]
}

tags = {
Name = "fam_admin_api_gateway"
managed-by = "terraform"
}
}

resource "aws_api_gateway_resource" "admin_management_api_gateway_resource_proxy" {
Expand Down Expand Up @@ -63,6 +68,10 @@ resource "aws_api_gateway_stage" "admin_management_api_gateway_stage" {
deployment_id = aws_api_gateway_deployment.admin_management_api_gateway_deployment.id
rest_api_id = aws_api_gateway_rest_api.admin_management_api_gateway_rest_api.id
stage_name = "v1"

tags = {
managed-by = "terraform"
}
}

resource "aws_lambda_permission" "admin_management_api_lambda_permission" {
Expand Down

0 comments on commit 84c9471

Please sign in to comment.