cds-snc / gc-articles

This repo is for GC Articles web publishing product undertaken by CDS platform August 2021
GNU General Public License v2.0
7 stars 3 forks source link

Production release: 3.22.0 #1904

Closed patheard closed 1 month ago

patheard commented 1 month ago

Summary

Upgrade to WordPress 6.2.2.

Related

github-actions[bot] commented 1 month ago

Production: ecs

✅   Terraform Init: success ✅   Terraform Validate: success ✅   Terraform Format: success ✅   Terraform Plan: success ✅   Conftest: success

⚠️   Warning: resources will be destroyed by this change!

Plan: 1 to add, 1 to change, 1 to destroy
Show summary | CHANGE | NAME | |----------|------------------------------------------| | update | `aws_ecs_service.wordpress_service` | | recreate | `aws_ecs_task_definition.wordpress_task` |
Show plan ```terraform Resource actions are indicated with the following symbols: ~ update in-place -/+ destroy and then create replacement Terraform will perform the following actions: # aws_ecs_service.wordpress_service will be updated in-place ~ resource "aws_ecs_service" "wordpress_service" { id = "arn:aws:ecs:ca-central-1:472286471787:service/wordpress/wordpress" name = "wordpress" tags = { "CostCentre" = "PlatformGCArticles" } ~ task_definition = "arn:aws:ecs:ca-central-1:472286471787:task-definition/wordpress:101" -> (known after apply) # (15 unchanged attributes hidden) # (4 unchanged blocks hidden) } # aws_ecs_task_definition.wordpress_task must be replaced -/+ resource "aws_ecs_task_definition" "wordpress_task" { ~ arn = "arn:aws:ecs:ca-central-1:472286471787:task-definition/wordpress:101" -> (known after apply) ~ arn_without_revision = "arn:aws:ecs:ca-central-1:472286471787:task-definition/wordpress" -> (known after apply) ~ container_definitions = jsonencode( ~ [ ~ { - environment = [] - mountPoints = [] name = "apache" - systemControls = [] # (5 unchanged attributes hidden) }, ~ { ~ image = "472286471787.dkr.ecr.ca-central-1.amazonaws.com/platform/wordpress:v3.21.3" -> "472286471787.dkr.ecr.ca-central-1.amazonaws.com/platform/wordpress:v3.22.0" - mountPoints = [] name = "wordpress" - systemControls = [] - volumesFrom = [] # (5 unchanged attributes hidden) }, ] # forces replacement ) ~ id = "wordpress" -> (known after apply) ~ revision = 101 -> (known after apply) tags = { "CostCentre" = "PlatformGCArticles" } # (12 unchanged attributes hidden) } Plan: 1 to add, 1 to change, 1 to destroy. ───────────────────────────────────────────────────────────────────────────── Saved the plan to: plan.tfplan To perform exactly these actions, run the following command to apply: terraform apply "plan.tfplan" ```
Show Conftest results ```sh WARN - plan.json - main - Missing Common Tags: ["aws_appautoscaling_target.wordpress"] WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_event_rule.ecs_events"] WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.ecs_events"] WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.wordpress_ecs_logs"] WARN - plan.json - main - Missing Common Tags: ["aws_ecs_cluster.wordpress"] WARN - plan.json - main - Missing Common Tags: ["aws_ecs_service.wordpress_service"] WARN - plan.json - main - Missing Common Tags: ["aws_ecs_task_definition.wordpress_task"] WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.wordpress_ecs_task_create_tunnel"] WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.wordpress_ecs_task_get_ecr_image"] WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.wordpress_ecs_task_get_secret_value"] WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.ecs_events_lambda"] WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.wordpress_ecs_task"] WARN - plan.json - main - Missing Common Tags: ["aws_lambda_function.ecs_events"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.c3_aws_access_key_id"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.c3_aws_secret_access_key"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.default_list_manager_api_key"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.default_notify_api_key"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.encryption_key"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.jwt_auth_secret_key"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.list_manager_endpoint"] WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.s3_uploads_bucket"] WARN - plan.json - main - Missing Common Tags:... ```