aws-games/cloud-game-development-toolkit

Bug: Container definitions failing with Terraform AWS Provider 5.59.0

Closed this issue · 2 comments

Expected Behaviour

Container definitions for ECS task should successfully provision

Current Behaviour

│ Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.unreal_horde.aws_ecs_task_definition.unreal_horde_task_definition to include new values
│ learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an invalid new value for
│ .container_definitions: was cty.StringVal(""), but now
│ cty.StringVal("[{\"Command\":null,\"Cpu\":1024,\"CredentialSpecs\":null,\"DependsOn\":null,\"DisableNetworking\":null,\"DnsSearchDomains\":null,\"DnsServers\":null,\"DockerLabels\":null,\"DockerSecurityOptions\":null,\"EntryPoint\":null,\"Environment\":[],\"EnvironmentFiles\":null,\"Essential\":true,\"ExtraHosts\":null,\"FirelensConfiguration\":null,\"HealthCheck\":null,\"Hostname\":null,\"Image\":\"ghcr.io/epicgames/horde-server:latest\",\"Interactive\":null,\"Links\":null,\"LinuxParameters\":null,\"LogConfiguration\":{\"LogDriver\":\"awslogs\",\"Options\":{\"awslogs-group\":\"cgd-unreal-horde-log-group\",\"awslogs-region\":\"us-west-2\",\"awslogs-stream-prefix\":\"ue-horde\"},\"SecretOptions\":null},\"Memory\":4096,\"MemoryReservation\":null,\"MountPoints\":null,\"Name\":\"unreal-horde\",\"PortMappings\":[{\"AppProtocol\":\"\",\"ContainerPort\":5000,\"ContainerPortRange\":null,\"HostPort\":5000,\"Name\":null,\"Protocol\":\"\"}],\"Privileged\":null,\"PseudoTerminal\":null,\"ReadonlyRootFilesystem\":null,\"RepositoryCredentials\":{\"CredentialsParameter\":\"arn:aws:secretsmanager:us-west-2:654654208941:secret:github/credentials-EkuyJy\"},\"ResourceRequirements\":null,\"Secrets\":null,\"StartTimeout\":null,\"StopTimeout\":null,\"SystemControls\":null,\"Ulimits\":null,\"User\":null,\"VolumesFrom\":null,\"WorkingDirectory\":null}]").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Possible Solution

Related to hashicorp/terraform-provider-aws#38471

Steps to Reproduce

Run an ECS task deployment with 5.59.0 of the AWS provider

Cloud Game Development Toolkit version

latest

@kylesomers we need to bump ever TF AWS Provider reference from 5.59.0 to 5.60.0. Can we configure dependabot to do this?

Versioning fixed in #190