-
Notifications
You must be signed in to change notification settings - Fork 162
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
New vpc channel resource support #1273
New vpc channel resource support #1273
Conversation
ecsClient, err := config.ComputeV1Client(config.GetRegion(d)) | ||
if err != nil { | ||
return result, fmtp.Errorf("Error creating HuaweiCloud ECS v1 client: %s", err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest to put those outside of the for loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
members { | ||
id = huaweicloud_compute_instance.test.id | ||
weight = 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusted
docs/resources/apig_vpc_channel.md
Outdated
|
||
The following arguments are supported: | ||
|
||
* `region` - (Optional, String, ForceNew) Specifies the region in which to create the APIG application resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the description is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This description has been updated
} | ||
} | ||
|
||
resource "huaweicloud_compute_eip_associate" "test" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it necessary to associate the eip to an ecs instance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx, this is unnecessary and has been removed
What this PR does / why we need it:
The API web backend and policy need vpc channel configuration.
Which issue this PR fixes:
reference #1249
Special notes for your reviewer:
Release note:
PR Checklist
Acceptance Steps Performed
test for ECS member type
test for EIP member type