-
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.
Update GitHub server URL and refactor related configurations for EKS …
…deployment
- Loading branch information
Showing
9 changed files
with
80 additions
and
45 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
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,40 @@ | ||
| variables { | ||
| name = "test-eks-cluster" | ||
| organization = "test-org" | ||
| template_repo_org = "test-org" | ||
| environment = "dev" | ||
| region = "us-east-1" | ||
| github_server_url = "https://github.e.it.census.gov" | ||
| cluster_config = { | ||
| cluster_name = "dev-eks-01" | ||
| account_name = "dev-account" | ||
| aws_account_id = "123456789012" | ||
| aws_profile = "dev-profile" | ||
| environment_abbr = "dev" | ||
| vpc_name = "dev-vpc" | ||
| vpc_domain_name = "dev.example.com" | ||
| } | ||
| enable_modules = { | ||
| cert_manager = true | ||
| prometheus = true | ||
| grafana = true | ||
| } | ||
| } | ||
|
|
||
| provider "github" { | ||
| base_url = var.github_server_url | ||
| } | ||
|
|
||
| run "verify_workflow_trigger" { | ||
| command = apply | ||
|
|
||
| assert { | ||
| condition = can(null_resource.trigger_workflow) | ||
| error_message = "Workflow trigger resource should exist" | ||
| } | ||
|
|
||
| assert { | ||
| condition = null_resource.trigger_workflow.triggers.github_repo_name == module.github_repo.full_name | ||
| error_message = "Workflow trigger should use correct repository name" | ||
| } | ||
| } |