Comments (4)
@pkustner this is what i am getting if i excute
ltm snat outbound {
origins {
0.0.0.0/0 { }
}
snatpool /Common/out
}
after running
terraform apply
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ bigip_ltm_snat.outbound
id: <computed>
name: "outbound"
origins.#: "1"
origins.0.name: "0.0.0.0"
snatpool: "/Common/out"
vlansdisabled: "false"
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
bigip_ltm_snat.outbound: Creating...
name: "" => "outbound"
origins.#: "0" => "1"
origins.0.name: "" => "0.0.0.0"
snatpool: "" => "/Common/out"
vlansdisabled: "" => "false"
bigip_ltm_snat.outbound: Creation complete after 0s (ID: outbound)
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
from terraform-provider-bigip.
@pkustner so basically you are asking to add vlan list ?
from terraform-provider-bigip.
from terraform-provider-bigip.
@pkustner fix is in
cat master.tf
provider "bigip" {
address = "10.192.74.68"
username = "admin"
password = "admin"
}
resource "bigip_ltm_snat" "test-snat" {
name = "test-snat"
translation = "/Common/136.1.1.1"
origins = { name = "2.2.2.2" }
origins = { name = "3.3.3.3" }
vlansdisabled = true
autolasthop = "default"
mirror = "disabled"
partition = "Common"
full_path = "/Common/test-snat"
vlans = ["test-vlan"]
}
SJC-ML-00028512:terraform-provider-bigip shitole$ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
bigip_ltm_snat.test-snat: Refreshing state... (ID: test-snat`)
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ bigip_ltm_snat.test-snat
id: <computed>
autolasthop: "default"
full_path: "/Common/test-snat"
mirror: "disabled"
name: "test-snat"
origins.#: "2"
origins.0.name: "2.2.2.2"
origins.1.name: "3.3.3.3"
partition: "Common"
translation: "/Common/136.1.1.1"
vlans.#: "1"
vlans.2119867841: "test-vlan"
vlansdisabled: "true"
Plan: 1 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
SJC-ML-00028512:terraform-provider-bigip shitole$ terraform apply
bigip_ltm_snat.test-snat: Refreshing state... (ID: test-snat`)
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ bigip_ltm_snat.test-snat
id: <computed>
autolasthop: "default"
full_path: "/Common/test-snat"
mirror: "disabled"
name: "test-snat"
origins.#: "2"
origins.0.name: "2.2.2.2"
origins.1.name: "3.3.3.3"
partition: "Common"
translation: "/Common/136.1.1.1"
vlans.#: "1"
vlans.2119867841: "test-vlan"
vlansdisabled: "true"
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
bigip_ltm_snat.test-snat: Creating...
autolasthop: "" => "default"
full_path: "" => "/Common/test-snat"
mirror: "" => "disabled"
name: "" => "test-snat"
origins.#: "0" => "2"
origins.0.name: "" => "2.2.2.2"
origins.1.name: "" => "3.3.3.3"
partition: "" => "Common"
translation: "" => "/Common/136.1.1.1"
vlans.#: "0" => "1"
vlans.2119867841: "" => "test-vlan"
vlansdisabled: "" => "true"
bigip_ltm_snat.test-snat: Creation complete after 0s (ID: test-snat)
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
SJC-ML-00028512:terraform-provider-bigip shitole$ terraform destroy
bigip_ltm_snat.test-snat: Refreshing state... (ID: test-snat)
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
- bigip_ltm_snat.test-snat
Plan: 0 to add, 0 to change, 1 to destroy.
Do you really want to destroy?
Terraform will destroy all your managed infrastructure, as shown above.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
bigip_ltm_snat.test-snat: Destroying... (ID: test-snat)
bigip_ltm_snat.test-snat: Destruction complete after 0s
Destroy complete! Resources: 1 destroyed.
SJC-ML-00028512:terraform-provider-bigip shitole$
from terraform-provider-bigip.
Related Issues (20)
- RFE: Add new resource to create/manage DNS Resolver configuration HOT 2
- RFE: Add new resource to create/manage OCSP Profiles HOT 2
- Common tenant is trying to be updated without modification in the json file HOT 1
- 2nd Terraform apply on bigip_waf_policy destroys policy instead of modifying HOT 3
- RFE: Add support for Trusted/Advertised CAs in resource bigip_ltm_profile_client_ssl HOT 4
- Problem to add pool atttachments with for_each HOT 5
- Documentation is not updated and a default value for token_auth was changed in version 1.16.1 of the provider HOT 2
- Add support for telemetry streaming declarative endpoint HOT 1
- Add persistence_profiles argument for FAST TCP/HTTP(S) applications HOT 1
- bigip_ltm_irule missing \r\n when plan/apply. change everytime HOT 5
- Missing Terraform resorce to "Create profile for request logging" HOT 2
- "...mgmt/shared/authn/login": EOF when connecting to bigip with 1.19.0 and 1.20.0 HOT 1
- Error importing JSON with bigip_waf_policy: cannot unmarshal number into Go struct field HOT 6
- Issue with clientssl profile when using parent/child (defauls-from) HOT 1
- Possibility to configure the MTU size on a vlan HOT 3
- Cannot update SSL key/cert used by SSL profile attached to Virtual Server HOT 10
- Virtual Server 0.0.0.0 Mask Conversion HOT 2
- Deleting iRules from Virtual Server Configs HOT 9
- RFE: Add new resource to create/manage Rewrite profiles HOT 3
- Support for check_max_value_length in parameters for declarative WAF policy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-bigip.