-
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.
Flow from dynamodb to terrform implemented
new command expose to bind ecs public IPs to r53 new command run to process state from DeveloperEnvironments
- Loading branch information
Showing
23 changed files
with
348 additions
and
63 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 |
---|---|---|
|
@@ -15,3 +15,5 @@ | |
# vendor/ | ||
/gromit | ||
.terraform/ | ||
terraform.tfstate | ||
*.plan |
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
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
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
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
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,33 @@ | ||
data "terraform_remote_state" "integration" { | ||
backend = "remote" | ||
|
||
config = { | ||
organization = "Tyk" | ||
workspaces = { | ||
name = "base-euc1" | ||
} | ||
} | ||
} | ||
|
||
# repo_rurls should probably be generated from env.Repos | ||
output "repo_urls" { | ||
value = map("tyk", data.terraform_remote_state.integration.outputs.tyk["ecr"], | ||
"tyk-analytics", data.terraform_remote_state.integration.outputs.tyk-analytics["ecr"], | ||
"tyk-pump", data.terraform_remote_state.integration.outputs.tyk-pump["ecr"]) | ||
description = "ECR base URLs" | ||
} | ||
|
||
output "region" { | ||
value = data.terraform_remote_state.integration.outputs.region | ||
description = "Region in which the env is running" | ||
} | ||
|
||
output "cfssl_efs" { | ||
value = data.terraform_remote_state.integration.outputs.cfssl_efs | ||
description = "EFS for keys and certs" | ||
} | ||
|
||
output "config_efs" { | ||
value = data.terraform_remote_state.integration.outputs.config_efs | ||
description = "EFS for Tyk config" | ||
} |
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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,15 @@ | ||
data "terraform_remote_state" "infra" { | ||
backend = "remote" | ||
|
||
config = { | ||
organization = "Tyk" | ||
workspaces = { | ||
name = "dev-euc1" | ||
} | ||
} | ||
} | ||
|
||
output "vpc_id" { | ||
value = data.terraform_remote_state.infra.outputs.vpc_id | ||
description = "VPC in which the infra is running" | ||
} |
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
Binary file not shown.
Oops, something went wrong.