-
Notifications
You must be signed in to change notification settings - Fork 53
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
feat(NAT): Synchronized NAT resource, unit test and document. #1091
feat(NAT): Synchronized NAT resource, unit test and document. #1091
Conversation
45414b3
to
6db536a
Compare
e19c768
to
d18b65c
Compare
docs/resources/nat_snat_rule_v2.md
Outdated
--- | ||
|
||
# flexibleengine_nat_snat_rule_v2 | ||
|
||
Manages a V2 SNAT rule resource within FlexibleEngine. | ||
Manages an SNAT rule resource of the **public** NAT within FlexibleEngine. |
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.
There seems to use ... a SNAT ...
resource "flexibleengine_compute_instance_v2" "test" { | ||
name = "instance_1" | ||
security_groups = ["default"] | ||
image_id = data.flexibleengine_images_image.test.id | ||
flavor_id = data.flexibleengine_compute_flavors_v2.test.flavors[0] | ||
availability_zone = data.flexibleengine_availability_zones.test.names[0] | ||
metadata = { | ||
foo = "bar" | ||
} | ||
network { | ||
uuid = flexibleengine_vpc_subnet_v1.test.id | ||
} | ||
tags = { | ||
key1 = "value1" | ||
key2 = "value.key" | ||
} | ||
} | ||
|
||
resource "flexibleengine_nat_gateway_v2" "test" { | ||
name = "%[2]s" | ||
description = "test for terraform" | ||
spec = "2" | ||
vpc_id = flexibleengine_vpc_v1.test.id | ||
subnet_id = flexibleengine_vpc_subnet_v1.test.id | ||
} | ||
`, testBaseComputeResources(name), name) |
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.
These scripts should be formated.
d18b65c
to
9235729
Compare
description: "" | ||
page_title: "flexibleengine_nat_snat_rule_v2" |
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.
please keep it as is. page_title
is used for other platforms.
What this PR does / why we need it:
Which issue this PR fixes:
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)fixes #xxx
Special notes for your reviewer:
Release note:
PR Checklist
Acceptance Steps Performed