Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RishikeshDarandale/5f183623e095905ecd8af50c5b211d12 to your computer and use it in GitHub Desktop.
Save RishikeshDarandale/5f183623e095905ecd8af50c5b211d12 to your computer and use it in GitHub Desktop.
terraform.issue
2020/06/05 17:01:13 [WARN] Provider "registry.terraform.io/-/aws" produced an invalid plan for aws_batch_job_definition.batch-job-definition, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
batch-job-role\",\"memory\":4096,\"mountPoints\":[],\"resourceRequirements\":[],\"ulimits\":[],\"vcpus\":1,\"volumes\":[]}")
2020/06/05 17:01:13 [INFO] backend/local: plan operation completed
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# aws_batch_job_definition.batch-job-definition must be replaced
-/+ resource "aws_batch_job_definition" "batch-job-definition" {
~ arn = "arn:aws:batch:us-east-1:123:job-definition/test-job-definition:7" -> (known after apply)
~ container_properties = jsonencode(
~ {
- command = [] -> null
environment = [
{
name = "ENVIRONMENT"
value = "test"
}
]
image = "123.dkr.ecr.us-east-1.amazonaws.com/my-app"
jobRoleArn = "arn:aws:iam::123:role/role-test"
memory = 4096
- mountPoints = [] -> null
- resourceRequirements = [] -> null
- ulimits = [] -> null
vcpus = 1
- volumes = [] -> null
} # forces replacement
)
~ id = "arn:aws:batch:us-east-1:123:job-definition/test-job-definition:7" -> (known after apply)
name = "test-job-definition"
- parameters = {} -> null
~ revision = 7 -> (known after apply)
type = "container"
retry_strategy {
attempts = 1
}
timeout {
attempt_duration_seconds = 7200
}
}
Plan: 1 to add, 0 to change, 1 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment