Skip to content

Commit fddbbf4

Browse files
王超xiaozhu36
authored andcommitted
Removes the provider setting and improves the Readme
1 parent 7d3d49b commit fddbbf4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,12 @@ From the version v1.5.0, the module has removed the following `provider` setting
164164
165165
```hcl
166166
provider "alicloud" {
167-
profile = var.profile != "" ? var.profile : null
168-
region = var.region != "" ? var.region : null
169-
skip_region_validation = var.skip_region_validation
170-
}
167+
profile = var.profile != "" ? var.profile : null
168+
shared_credentials_file = var.shared_credentials_file != "" ? var.shared_credentials_file : null
169+
region = var.region != "" ? var.region : null
170+
skip_region_validation = var.skip_region_validation
171+
configuration_source = "terraform-alicloud-modules/managed-kubernetes"
172+
}
171173
```
172174

173175
If you still want to use the `provider` setting to apply this module, you can specify a supported version, like 1.4.0:
@@ -234,5 +236,3 @@ Reference
234236
* [Terraform-Provider-Alicloud Github](https://github.com/terraform-providers/terraform-provider-alicloud)
235237
* [Terraform-Provider-Alicloud Release](https://releases.hashicorp.com/terraform-provider-alicloud/)
236238
* [Terraform-Provider-Alicloud Docs](https://www.terraform.io/docs/providers/alicloud/)
237-
238-

0 commit comments

Comments
 (0)