Skip to content

Commit

Permalink
Merge pull request #7708 from terraform-providers/td-aws_batch_comput…
Browse files Browse the repository at this point in the history
…e_environment-remove-deprecated

resource/aws_batch_compute_environment: Remove deprecated ecc_cluster_arn attribute
  • Loading branch information
bflad authored Feb 26, 2019
2 parents 168c73a + 360324e commit d7c5517
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions aws/resource_aws_batch_compute_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ func resourceAwsBatchComputeEnvironment() *schema.Resource {
Computed: true,
},
"ecc_cluster_arn": {
Type: schema.TypeString,
Computed: true,
Deprecated: "Use ecs_cluster_arn instead",
Type: schema.TypeString,
Computed: true,
Removed: "Use `ecs_cluster_arn` attribute instead",
},
"ecs_cluster_arn": {
Type: schema.TypeString,
Expand Down Expand Up @@ -273,7 +273,6 @@ func resourceAwsBatchComputeEnvironmentRead(d *schema.ResourceData, meta interfa
}

d.Set("arn", computeEnvironment.ComputeEnvironmentArn)
d.Set("ecc_cluster_arn", computeEnvironment.EcsClusterArn)
d.Set("ecs_cluster_arn", computeEnvironment.EcsClusterArn)
d.Set("status", computeEnvironment.Status)
d.Set("status_reason", computeEnvironment.StatusReason)
Expand Down

0 comments on commit d7c5517

Please sign in to comment.