-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:navapbc/template-infra
- Loading branch information
Showing
12 changed files
with
98 additions
and
84 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
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
output "hosted_zone_name_servers" { | ||
value = length(aws_route53_zone.zone) > 0 ? aws_route53_zone.zone[0].name_servers : [] | ||
} | ||
|
||
output "certificate_arns" { | ||
value = { | ||
for domain in keys(var.certificate_configs) : domain => aws_acm_certificate.issued[domain].arn | ||
} | ||
} | ||
|
||
output "hosted_zone_name_servers" { | ||
value = length(aws_route53_zone.zone) > 0 ? aws_route53_zone.zone[0].name_servers : [] | ||
} |
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,9 +1,9 @@ | ||
output "evidently_project_name" { | ||
description = "Name of AWS Evidently feature flags project" | ||
value = local.evidently_project_name | ||
} | ||
|
||
output "access_policy_arn" { | ||
description = "Policy that allows access to query feature flag values" | ||
value = aws_iam_policy.access_policy.arn | ||
} | ||
|
||
output "evidently_project_name" { | ||
description = "Name of AWS Evidently feature flags project" | ||
value = local.evidently_project_name | ||
} |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
output "tf_state_bucket_name" { | ||
value = aws_s3_bucket.tf_state.bucket | ||
output "tf_locks_table_name" { | ||
value = aws_dynamodb_table.terraform_lock.name | ||
} | ||
|
||
output "tf_log_bucket_name" { | ||
value = aws_s3_bucket.tf_log.bucket | ||
} | ||
|
||
output "tf_locks_table_name" { | ||
value = aws_dynamodb_table.terraform_lock.name | ||
output "tf_state_bucket_name" { | ||
value = aws_s3_bucket.tf_state.bucket | ||
} |
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,11 +1,11 @@ | ||
output "hosted_zone_name_servers" { | ||
value = module.domain.hosted_zone_name_servers | ||
output "certificate_arns" { | ||
value = module.domain.certificate_arns | ||
} | ||
|
||
output "certificate_domains" { | ||
value = keys(local.domain_config.certificate_configs) | ||
} | ||
|
||
output "certificate_arns" { | ||
value = module.domain.certificate_arns | ||
output "hosted_zone_name_servers" { | ||
value = module.domain.hosted_zone_name_servers | ||
} |
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,49 +1,48 @@ | ||
output "project_name" { | ||
value = local.project_name | ||
} | ||
|
||
output "owner" { | ||
value = local.owner | ||
output "aws_services" { | ||
description = "AWS services that this project uses" | ||
value = local.aws_services | ||
} | ||
|
||
output "code_repository_url" { | ||
value = local.code_repository_url | ||
output "aws_services_security_group_name_prefix" { | ||
value = local.aws_services_security_group_name_prefix | ||
} | ||
|
||
output "code_repository" { | ||
value = regex("([-_\\w]+/[-_\\w]+)(\\.git)?$", local.code_repository_url)[0] | ||
description = "The 'org/repo' string of the repo (e.g. 'navapbc/template-infra'). This is extracted from the repo URL (e.g. '[email protected]:navapbc/template-infra.git' or 'https://github.com/navapbc/template-infra.git')" | ||
} | ||
|
||
output "code_repository_url" { | ||
value = local.code_repository_url | ||
} | ||
|
||
output "default_region" { | ||
value = local.default_region | ||
} | ||
|
||
# Common tags for all accounts and environments | ||
output "default_tags" { | ||
value = { | ||
project = local.project_name | ||
owner = local.owner | ||
repository = local.code_repository_url | ||
terraform = true | ||
terraform_workspace = terraform.workspace | ||
# description is set in each environments local use key project_description if required. | ||
# description is set in each environments local use key project_description if required. | ||
} | ||
} | ||
|
||
output "github_actions_role_name" { | ||
value = local.github_actions_role_name | ||
} | ||
|
||
output "aws_services" { | ||
description = "AWS services that this project uses" | ||
value = local.aws_services | ||
output "network_configs" { | ||
value = local.network_configs | ||
} | ||
|
||
output "aws_services_security_group_name_prefix" { | ||
value = local.aws_services_security_group_name_prefix | ||
output "owner" { | ||
value = local.owner | ||
} | ||
|
||
output "network_configs" { | ||
value = local.network_configs | ||
output "project_name" { | ||
value = local.project_name | ||
} |
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