│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for module.environment.module.services["api"].aws_ecs_task_definition.main 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\":256,\"CredentialSpecs\":null,\"DependsOn\":null,\"DisableNetworking\":null,\"DnsSearchDomains\":null,\"DnsServers\":null,\"DockerLabels\":null,\"DockerSecurityOptions\":null,\"EntryPoint\":null,\"Environment\":[{\"Name\":\"API_SERVICE_URL\",\"Value\":\"http://usw2-dev-demo2-api.usw2-dev-demo2-ns:8080\"},{\"Name\":\"APP_PORT\",\"Value\":\"8080\"},{\"Name\":\"DYNAMO_ENVS_ID\",\"Value\":\"usw2-dev-demo2-envs\"},{\"Name\":\"DYNAMO_PLANS_ID\",\"Value\":\"usw2-dev-demo2-plans\"},{\"Name\":\"DYNAMO_SERVICE_STATUSES_ID\",\"Value\":\"usw2-dev-demo2-service-statuses\"},{\"Name\":\"ENVIRONMENT_NAME\",\"Value\":\"usw2-dev-demo2\"},{\"Name\":\"PORT\",\"Value\":\"8080\"},{\"Name\":\"S3_TERRAFORM_ARTIFACTS\",\"Value\":\"usw2-dev-demo2-artifacts\"},{\"Name\":\"SERVICE_PORT\",\"Value\":\"8080\"}],\"EnvironmentFiles\":null,\"Essential\":true,\"ExtraHosts\":null,\"FirelensConfiguration\":null,\"HealthCheck\":null,\"Hostname\":null,\"Image\":\"633765879655.dkr.ecr.us-west-2.amazonaws.com/usw2-dev-demo2:api\",\"Interactive\":null,\"Links\":null,\"LinuxParameters\":null,\"LogConfiguration\":{\"LogDriver\":\"awslogs\",\"Options\":{\"awslogs-group\":\"usw2-dev/fargate/usw2-dev-demo2/api/\",\"awslogs-region\":\"us-west-2\",\"awslogs-stream-prefix\":\"ecs\",\"max-buffer-size\":\"25m\",\"mode\":\"non-blocking\"},\"SecretOptions\":null},\"Memory\":512,\"MemoryReservation\":512,\"MountPoints\":null,\"Name\":\"api\",\"PortMappings\":[{\"AppProtocol\":\"\",\"ContainerPort\":8080,\"ContainerPortRange\":null,\"HostPort\":8080,\"Name\":null,\"Protocol\":\"tcp\"}],\"Privileged\":null,\"PseudoTerminal\":null,\"ReadonlyRootFilesystem\":false,\"RepositoryCredentials\":null,\"ResourceRequirements\":null,\"Secrets\":[{\"Name\":\"GITHUB_TOKEN\",\"ValueFrom\":\"arn:aws:ssm:us-west-2:633765879655:parameter/usw2-dev/github_token\"}],\"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.
Describe the Bug
Getting error
Expected Behavior
No errors
Steps to Reproduce
Just apply
Screenshots
No response
Environment
No response
Additional Context
No response