Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add data_source huaweicloud_cce_addon #1071

Closed

Conversation

Jason-Zhang9309
Copy link
Collaborator

What this PR does / why we need it:

add new data_source huaweicloud_cce_addon to get specified addon in a cluster

Which issue this PR fixes:
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #1005

Special notes for your reviewer:

Release note:


PR Checklist

  • Tests added/passed.
  • Documentation updated.
  • Schema updated.

Acceptance Steps Performed

make testacc TEST='./huaweicloud' TESTARGS='-run TestAccCCEAddonV3DataSource_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud -v -run TestAccCCEAddonV3DataSource_basic -timeout 360m -parallel 4
=== RUN   TestAccCCEAddonV3DataSource_basic
=== PAUSE TestAccCCEAddonV3DataSource_basic
=== CONT  TestAccCCEAddonV3DataSource_basic
--- PASS: TestAccCCEAddonV3DataSource_basic (1020.99s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud       1021.039s

* `region` - (Optional, String) The region in which to create the cce addon resource.
If omitted, the provider-level region will be used.
* `cluster_id` - (Required, String) Specifies the ID of the cluster.
* `addon_id` - (Required, String) Specifies the ID of the addon.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addon_id is required in docs while it is optional is the schema.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plans for cce_node_pool and cce_addon data sources
2 participants