ucloud / terraform-provider-ucloud-old Goto Github PK
View Code? Open in Web Editor NEW(Deprecated) Please see official repository https://github.com/terraform-providers/terraform-provider-ucloud
License: Mozilla Public License 2.0
(Deprecated) Please see official repository https://github.com/terraform-providers/terraform-provider-ucloud
License: Mozilla Public License 2.0
Hi Team,
My name is Chris, I'm a member of the Partner team @ HashiCorp.
I’ve taken a look at the provider here and would like to say great work so far! I do have feedback outlined below that I’d like to see addressed before we move on to the next steps. I’m opening this issues as a sort of checklist for tracking items and discussion. The review was done on the master branch at git commit 8ce7f72
.
testacc
, the first appears to be a timeout error and possiblt an unauthoized update error. I've included the test output for both these tests. We will need to make sure all tests are passing.=== RUN TestAccUCloudLBRule_basic
--- FAIL: TestAccUCloudLBRule_basic (129.64s)
testing.go:527: Step 0 error: Error applying: 1 error occurred:
* ucloud_lb_attachment.foo: 1 error occurred:
* ucloud_lb_attachment.foo: error in create lb attachment, cannot send request, Get https://api.ucloud.cn?Action=AllocateBackend&Port=80&ProjectId=org-xotkcf&PublicKey=XXXXXX%3D%3D&Region=cn-sh2&ResourceId=uhost-jror1a&ResourceType=UHost&ULBId=ulb-sai42l&VServerId=vserver-yoyhcd&Signature=XXXXXX: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
=== RUN TestAccUCloudSubnet_basic
--- FAIL: TestAccUCloudSubnet_basic (13.72s)
testing.go:527: Step 1 error: Error applying: 1 error occurred:
* ucloud_subnet.foo: 1 error occurred:
* ucloud_subnet.foo: do UpdateSubnetAttribute failed in update subnet subnet-orfnk5, api:
[server.RetCodeError] 291 Action [UpdateSubnetAttribute], Type [DEFAULT] unauthorized error
Hi @yufeiminds ,
README中的这个官方文档貌似失效了
https://www.terraform.io/docs/providers/ucloud/index.html
Hello!
My name is Bill, I'm a member of the Terraform team @ HashiCorp.
I’ve taken a look at the provider here and would like to say great work so far! I do have feedback outlined below that I’d like to see addressed before we move on to the next steps. I’m opening this issues as a sort of checklist for tracking remaining items and discussion. The review was done on the git commit b60f089.
resourceUCloudDiskCreate
need to call resourceUCloudDiskUpdate
? It doesn’t look like Update
sets anything that Create
doesn’t. It looks like this is a common pattern in the resource create functions. Is there post create updates that need to happen?ip_set
in resource_ucloud_eip
to ensure the value is properly formatted and set.ip_set
(and other TypeLists) could change, using TypeSet
would be better than TypeList
. The order of items matters in TypeList
, but not in TypeSet
.instance
tag
argument is "" rather than "Default"?instance
auto_renew
into boolean values rather than using a string value which needs to be interpreted.tags
may not be an item that should be used for looking up instance
s.ForceNew
is not needed for data sources.DataDisk
instead of "DataDisk".instance
resource docs contain "," in place of a space.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.