Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for aws_batch_compute_environment (#1048)
* Add support for aws_batch_compute_environment. * Fix document about batch_compute_environment * Use const instead of literal in resource_aws_batch_compute_environment.go * Omit unnecessary parameter in resource_aws_batch_compute_environment.go * Validate compute environment name in resource_aws_batch_compute_environment.go * Write ComputeEnvironmentInput struct to log instead of comput environment name * Stop writing log about changing of each fields because of unnecessity * Use StateChangeConf to wait status of compute envrionment in AWS Batch change * Stop validate that number of compute environment in AWS Batch are not greater than 2 Because DescribeComputeEnvironments return only one compute environment if DescribeComputeEnvironmentInput contain only one name of compute environment * Validate format of ARN in resource_aws_batch_compute_environment.go * Delete unused testcase in resource_aws_batch_compute_environment_test.go * Stop checking that children of compute_resource block has change in resource_aws_batch_compute_environment.go Because I know compute_resource block has change * Fix document * Use of constants from the SDK * Use the validateArn function * Move validateBatchComputeEnvironmentName function to validators.go * Move codes reading compute_resources to a flatten function
- Loading branch information