Skip to content
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

Error: Provider produced inconsistent final plan #188

Open
dspv opened this issue Jul 24, 2024 · 0 comments
Open

Error: Provider produced inconsistent final plan #188

dspv opened this issue Jul 24, 2024 · 0 comments
Labels
bug 🐛 An issue with the system

Comments

@dspv
Copy link

dspv commented Jul 24, 2024

Describe the Bug

Getting error

│ 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.

Expected Behavior

No errors

Steps to Reproduce

Just apply

Screenshots

No response

Environment

No response

Additional Context

No response

@dspv dspv added the bug 🐛 An issue with the system label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

1 participant