-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switching networks, vpcs, and regions
- Loading branch information
Showing
5 changed files
with
57 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
|
|
||
| locals { | ||
| common_tags = { | ||
| environment = var.environment | ||
| environment_abbr = var.environment_abbr | ||
| organization = var.organization | ||
| finops_project_name = var.finops_project_name | ||
| finops_project_number = var.finops_project_number | ||
| finops_project_role = var.finops_project_role | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| provider "aws" { | ||
| region = var.aws_region | ||
| default_tags { | ||
| tags = local.common_tags | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| environment = "development" | ||
| environment_abbr = "dev" | ||
| organization = "census:ocio:csvd" | ||
| finops_project_name = "csvd_platformbaseline" | ||
| finops_project_number = "fs0000000078" | ||
| finops_project_role = "csvd_platformbaseline_app" | ||
| vpc_security_group_ids = [ | ||
| "sg-0641c697588b9aa6b", | ||
| "sg-0cc69de0fa6f337c5" | ||
| ] | ||
| vpc_subnet_ids = [ | ||
| "subnet-062189d742937204e" | ||
| ] | ||
| lambda_timeout = 30 | ||
| aws_region = "us-gov-west-1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,53 +1,50 @@ | ||
| variable "environment" { | ||
| description = "Environment name" | ||
| type = string | ||
| default = "development" | ||
| } | ||
|
|
||
| variable "environment_abbr" { | ||
| description = "Environment abbreviation" | ||
| type = string | ||
| default = "dev" | ||
| } | ||
|
|
||
| variable "organization" { | ||
| description = "Organization name" | ||
| type = string | ||
| default = "census:ocio:csvd" | ||
| } | ||
|
|
||
| variable "finops_project_name" { | ||
| description = "FinOps project name" | ||
| type = string | ||
| default = "csvd_platformbaseline" | ||
| } | ||
|
|
||
| variable "finops_project_number" { | ||
| description = "FinOps project number" | ||
| type = string | ||
| default = "fs0000000078" | ||
| } | ||
|
|
||
| variable "finops_project_role" { | ||
| description = "FinOps project role" | ||
| type = string | ||
| default = "csvd_platformbaseline_app" | ||
| } | ||
|
|
||
| variable "vpc_security_group_ids" { | ||
| description = "List of VPC security group IDs" | ||
| type = list(string) | ||
| default = ["sg-03cbf2a626ed55c7e"] | ||
| } | ||
|
|
||
| variable "vpc_subnet_ids" { | ||
| description = "List of VPC subnet IDs" | ||
| type = list(string) | ||
| default = ["subnet-05192178ac094f639", "subnet-022370a5a03585376"] | ||
| } | ||
|
|
||
| variable "lambda_timeout" { | ||
| description = "Lambda function timeout in seconds" | ||
| type = number | ||
| default = 30 | ||
| } | ||
|
|
||
| variable "aws_region" { | ||
| description = "AWS region" | ||
| type = string | ||
| default = "us-gov-west-2" | ||
| } |