terraform-provider-rancher
terraform-provider-rancher copied to clipboard
have to put "start_on_create: true" in rancher-compose.yml file.
Terraform Version
$ terraform version
Terraform v0.11.6
+ provider.rancher v1.2.0
+ provider.template v1.0.0
Affected Resource(s)
- rancher_stack
Terraform Configuration Files
$ cat rancher-compose.yml
version: '2'
services:
web:
scale: 3
Panic Output
After terraform apply
successfully, run terraform plan
, always got changes:
~ module.rancher_stack.rancher_stack.test
rancher_compose: version: '2'
services:
web:
scale: 3
- start_on_create: true
After added the line start_on_create: true
in rancher-compose.yml, no change is reported.
Expected Behavior
should be no changes after successfully terraform apply