generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 16
GitHub Actions - Automate Terraform Docs #66 #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or 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
Contributor
|
Terraform plan in terraform Plan: 15 to add, 3 to change, 15 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
-/+ destroy and then create replacement
Terraform will perform the following actions:
# module.civic-tech-index.module.backend_prod_service.aws_ecs_service.fargate[0] must be replaced
-/+ resource "aws_ecs_service" "fargate" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/cti-backend-prod" -> (known after apply)
!~ availability_zone_rebalancing = "ENABLED" -> (known after apply)
- health_check_grace_period_seconds = 0 -> null
!~ iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> (known after apply)
!~ id = "**************************************************************************" -> (known after apply)
!~ launch_type = "EC2" -> "FARGATE" # forces replacement
name = "cti-backend-prod"
+ platform_version = (known after apply)
- propagate_tags = "NONE" -> null
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/cti-backend-prod:4" -> (known after apply)
!~ triggers = {} -> (known after apply)
# (9 unchanged attributes hidden)
- deployment_circuit_breaker {
- enable = false -> null
- rollback = false -> null
}
!~ deployment_configuration (known after apply)
- deployment_configuration {
- bake_time_in_minutes = "0" -> null
- strategy = "ROLLING" -> null
}
- deployment_controller {
- type = "ECS" -> null
}
# (2 unchanged blocks hidden)
}
# module.civic-tech-index.module.backend_prod_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/cti-backend-prod:4" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/cti-backend-prod" -> (known after apply)
!~ container_definitions = jsonencode(
!~ [
!~ {
!~ cpu = 256 -> 512
- mountPoints = []
name = "cti-backend-prod"
!~ portMappings = [
!~ {
- protocol = "tcp"
# (2 unchanged attributes hidden)
},
]
- systemControls = []
- volumesFrom = []
# (7 unchanged attributes hidden)
},
] # forces replacement
)
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "****************" -> (known after apply)
!~ requires_compatibilities = [ # forces replacement
- "EC2",
+ "FARGATE",
]
!~ revision = 4 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (10 unchanged attributes hidden)
}
# module.civic-tech-index.module.backend_stage_service.aws_ecs_service.fargate[0] must be replaced
-/+ resource "aws_ecs_service" "fargate" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/cti-backend-stage" -> (known after apply)
!~ availability_zone_rebalancing = "ENABLED" -> (known after apply)
- health_check_grace_period_seconds = 0 -> null
!~ iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> (known after apply)
!~ id = "***************************************************************************" -> (known after apply)
!~ launch_type = "EC2" -> "FARGATE" # forces replacement
name = "cti-backend-stage"
+ platform_version = (known after apply)
- propagate_tags = "NONE" -> null
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/cti-backend-stage:4" -> (known after apply)
!~ triggers = {} -> (known after apply)
# (9 unchanged attributes hidden)
- deployment_circuit_breaker {
- enable = false -> null
- rollback = false -> null
}
!~ deployment_configuration (known after apply)
- deployment_configuration {
- bake_time_in_minutes = "0" -> null
- strategy = "ROLLING" -> null
}
- deployment_controller {
- type = "ECS" -> null
}
# (2 unchanged blocks hidden)
}
# module.civic-tech-index.module.backend_stage_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/cti-backend-stage:4" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/cti-backend-stage" -> (known after apply)
!~ container_definitions = jsonencode(
!~ [
!~ {
!~ cpu = 256 -> 512
- mountPoints = []
name = "cti-backend-stage"
!~ portMappings = [
!~ {
- protocol = "tcp"
# (2 unchanged attributes hidden)
},
]
- systemControls = []
- volumesFrom = []
# (7 unchanged attributes hidden)
},
] # forces replacement
)
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "*****************" -> (known after apply)
!~ requires_compatibilities = [ # forces replacement
- "EC2",
+ "FARGATE",
]
!~ revision = 4 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (10 unchanged attributes hidden)
}
# module.civic-tech-jobs.module.civic_tech_jobs_fullstack_stage_service.aws_ecs_service.fargate[0] will be updated in-place
!~ resource "aws_ecs_service" "fargate" {
id = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/civic-tech-jobs-fs-stage"
name = "civic-tech-jobs-fs-stage"
tags = {}
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/civic-tech-jobs-fs-stage:5" -> (known after apply)
# (18 unchanged attributes hidden)
# (5 unchanged blocks hidden)
}
# module.civic-tech-jobs.module.civic_tech_jobs_fullstack_stage_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/civic-tech-jobs-fs-stage:5" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/civic-tech-jobs-fs-stage" -> (known after apply)
!~ container_definitions = (sensitive value) # forces replacement
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "************************" -> (known after apply)
!~ revision = 5 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (11 unchanged attributes hidden)
}
# module.home-unite-us.module.qa_service.aws_ecs_service.fargate[0] will be updated in-place
!~ resource "aws_ecs_service" "fargate" {
id = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/home-unite-us-fullstack-qa"
name = "home-unite-us-fullstack-qa"
tags = {}
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/home-unite-us-fullstack-qa:6" -> (known after apply)
# (18 unchanged attributes hidden)
# (5 unchanged blocks hidden)
}
# module.home-unite-us.module.qa_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/home-unite-us-fullstack-qa:6" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/home-unite-us-fullstack-qa" -> (known after apply)
!~ container_definitions = (sensitive value) # forces replacement
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "**************************" -> (known after apply)
!~ revision = 6 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (11 unchanged attributes hidden)
}
# module.people-depot.module.backend_dev_service.aws_ecs_service.fargate[0] will be updated in-place
!~ resource "aws_ecs_service" "fargate" {
id = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/people-depot-backend-dev"
name = "people-depot-backend-dev"
tags = {}
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/people-depot-backend-dev:20" -> (known after apply)
# (18 unchanged attributes hidden)
# (5 unchanged blocks hidden)
}
# module.people-depot.module.backend_dev_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/people-depot-backend-dev:20" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/people-depot-backend-dev" -> (known after apply)
!~ container_definitions = (sensitive value) # forces replacement
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "************************" -> (known after apply)
!~ revision = 20 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (11 unchanged attributes hidden)
}
# module.vrms.module.backend_dev_service.aws_ecs_service.fargate[0] must be replaced
-/+ resource "aws_ecs_service" "fargate" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/vrms-backend-dev" -> (known after apply)
!~ availability_zone_rebalancing = "ENABLED" -> (known after apply)
- health_check_grace_period_seconds = 0 -> null
!~ iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> (known after apply)
!~ id = "**************************************************************************" -> (known after apply)
!~ launch_type = "EC2" -> "FARGATE" # forces replacement
name = "vrms-backend-dev"
+ platform_version = (known after apply)
- propagate_tags = "NONE" -> null
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-backend-dev:53" -> (known after apply)
!~ triggers = {} -> (known after apply)
# (9 unchanged attributes hidden)
- deployment_circuit_breaker {
- enable = false -> null
- rollback = false -> null
}
!~ deployment_configuration (known after apply)
- deployment_configuration {
- bake_time_in_minutes = "0" -> null
- strategy = "ROLLING" -> null
}
- deployment_controller {
- type = "ECS" -> null
}
# (2 unchanged blocks hidden)
}
# module.vrms.module.backend_dev_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-backend-dev:53" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-backend-dev" -> (known after apply)
!~ container_definitions = jsonencode(
!~ [
!~ {
!~ cpu = 256 -> 512
- mountPoints = []
name = "vrms-backend-dev"
!~ portMappings = [
!~ {
- protocol = "tcp"
# (2 unchanged attributes hidden)
},
]
- systemControls = []
- volumesFrom = []
# (7 unchanged attributes hidden)
},
] # forces replacement
)
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "****************" -> (known after apply)
!~ requires_compatibilities = [ # forces replacement
- "EC2",
+ "FARGATE",
]
!~ revision = 53 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (10 unchanged attributes hidden)
}
# module.vrms.module.backend_prod_service.aws_ecs_service.fargate[0] must be replaced
-/+ resource "aws_ecs_service" "fargate" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/vrms-backend-prod" -> (known after apply)
!~ availability_zone_rebalancing = "ENABLED" -> (known after apply)
- health_check_grace_period_seconds = 0 -> null
!~ iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> (known after apply)
!~ id = "***************************************************************************" -> (known after apply)
!~ launch_type = "EC2" -> "FARGATE" # forces replacement
name = "vrms-backend-prod"
+ platform_version = (known after apply)
- propagate_tags = "NONE" -> null
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-backend-prod:15" -> (known after apply)
!~ triggers = {} -> (known after apply)
# (9 unchanged attributes hidden)
- deployment_circuit_breaker {
- enable = false -> null
- rollback = false -> null
}
!~ deployment_configuration (known after apply)
- deployment_configuration {
- bake_time_in_minutes = "0" -> null
- strategy = "ROLLING" -> null
}
- deployment_controller {
- type = "ECS" -> null
}
# (2 unchanged blocks hidden)
}
# module.vrms.module.backend_prod_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-backend-prod:15" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-backend-prod" -> (known after apply)
!~ container_definitions = jsonencode(
!~ [
!~ {
!~ cpu = 256 -> 512
- mountPoints = []
name = "vrms-backend-prod"
!~ portMappings = [
!~ {
- protocol = "tcp"
# (2 unchanged attributes hidden)
},
]
- systemControls = []
- volumesFrom = []
# (7 unchanged attributes hidden)
},
] # forces replacement
)
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "*****************" -> (known after apply)
!~ requires_compatibilities = [ # forces replacement
- "EC2",
+ "FARGATE",
]
!~ revision = 15 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (10 unchanged attributes hidden)
}
# module.vrms.module.frontend_dev_service.aws_ecs_service.fargate[0] must be replaced
-/+ resource "aws_ecs_service" "fargate" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/vrms-frontend-dev" -> (known after apply)
!~ availability_zone_rebalancing = "ENABLED" -> (known after apply)
- health_check_grace_period_seconds = 0 -> null
!~ iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> (known after apply)
!~ id = "***************************************************************************" -> (known after apply)
!~ launch_type = "EC2" -> "FARGATE" # forces replacement
name = "vrms-frontend-dev"
+ platform_version = (known after apply)
- propagate_tags = "NONE" -> null
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-frontend-dev:4" -> (known after apply)
!~ triggers = {} -> (known after apply)
# (9 unchanged attributes hidden)
- deployment_circuit_breaker {
- enable = false -> null
- rollback = false -> null
}
!~ deployment_configuration (known after apply)
- deployment_configuration {
- bake_time_in_minutes = "0" -> null
- strategy = "ROLLING" -> null
}
- deployment_controller {
- type = "ECS" -> null
}
# (2 unchanged blocks hidden)
}
# module.vrms.module.frontend_dev_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-frontend-dev:4" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-frontend-dev" -> (known after apply)
!~ container_definitions = jsonencode(
!~ [
!~ {
!~ cpu = 256 -> 512
- mountPoints = []
name = "vrms-frontend-dev"
!~ portMappings = [
!~ {
- protocol = "tcp"
# (2 unchanged attributes hidden)
},
]
- systemControls = []
- volumesFrom = []
# (7 unchanged attributes hidden)
},
] # forces replacement
)
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "*****************" -> (known after apply)
!~ requires_compatibilities = [ # forces replacement
- "EC2",
+ "FARGATE",
]
!~ revision = 4 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (10 unchanged attributes hidden)
}
# module.vrms.module.frontend_prod_service.aws_ecs_service.fargate[0] must be replaced
-/+ resource "aws_ecs_service" "fargate" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:service/incubator-prod/vrms-frontend-prod" -> (known after apply)
!~ availability_zone_rebalancing = "ENABLED" -> (known after apply)
- health_check_grace_period_seconds = 0 -> null
!~ iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> (known after apply)
!~ id = "****************************************************************************" -> (known after apply)
!~ launch_type = "EC2" -> "FARGATE" # forces replacement
name = "vrms-frontend-prod"
+ platform_version = (known after apply)
- propagate_tags = "NONE" -> null
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
!~ task_definition = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-frontend-prod:5" -> (known after apply)
!~ triggers = {} -> (known after apply)
# (9 unchanged attributes hidden)
- deployment_circuit_breaker {
- enable = false -> null
- rollback = false -> null
}
!~ deployment_configuration (known after apply)
- deployment_configuration {
- bake_time_in_minutes = "0" -> null
- strategy = "ROLLING" -> null
}
- deployment_controller {
- type = "ECS" -> null
}
# (2 unchanged blocks hidden)
}
# module.vrms.module.frontend_prod_service.aws_ecs_task_definition.task must be replaced
-/+ resource "aws_ecs_task_definition" "task" {
!~ arn = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-frontend-prod:5" -> (known after apply)
!~ arn_without_revision = "arn:aws:ecs:us-west-2:035866691871:task-definition/vrms-frontend-prod" -> (known after apply)
!~ container_definitions = jsonencode(
!~ [
!~ {
!~ cpu = 256 -> 512
- mountPoints = []
name = "vrms-frontend-prod"
!~ portMappings = [
!~ {
- protocol = "tcp"
# (2 unchanged attributes hidden)
},
]
- systemControls = []
- volumesFrom = []
# (7 unchanged attributes hidden)
},
] # forces replacement
)
!~ cpu = "256" -> "512" # forces replacement
!~ enable_fault_injection = false -> (known after apply)
!~ id = "******************" -> (known after apply)
!~ requires_compatibilities = [ # forces replacement
- "EC2",
+ "FARGATE",
]
!~ revision = 5 -> (known after apply)
- tags = {} -> null
!~ tags_all = {} -> (known after apply)
# (10 unchanged attributes hidden)
}
Plan: 15 to add, 3 to change, 15 to destroy.✅ Plan applied in Terraform apply (OIDC) #46 |
Member
|
@here in terraform-plan.yaml I believe you have to change line 26 to |
This reverts commit 870dec8.
Member
Author
|
Ready for review, thank you! |
ale210
approved these changes
Oct 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #66
What changes did you make?
Why did you make the changes (we will use this info to test)?