Comments (5)
Hi,
Seems like we've added the support for this attribute only from v4.2.0 and above in both create and update.
I'm not sure why it does work with update but not on create - I expect this to be consistent (either work or not work for both transactions).
@wsquan171 might be able to elaborate further.
BTW @adarobin which version of NSX is in use?
from terraform-provider-nsxt.
Hi @ksamoray, this is my non-prod environment which is currently on 4.1.2.3
Just looking at the documentation, it was not apparent that this was for 4.2.x and newer only. It does seem to work aside from this issue.
from terraform-provider-nsxt.
Most likely this is due to setting the tf state visibility attr from the value read back from NSX after resource creation regardless of NSX version: https://github.com/vmware/terraform-provider-nsxt/blob/master/nsxt/resource_nsxt_policy_ip_block.go#L95
Since the value is left out in the create call, tf plan will find a diff on this field for update.
from terraform-provider-nsxt.
Thanks @wsquan171 - so this attribute won't be applied also during update in that case.
from terraform-provider-nsxt.
@ksamoray Yes. It won't be sent to NSX on either create or update. I think aside from ip block we have other resources sliently leave out params if NSX version is not met. For all the cases it will show up as diff after apply. Should we add version checks on read and avoid setting nil values to tf state, and only maybe log a warning that some fields are ignored?
from terraform-provider-nsxt.
Related Issues (20)
- Cannot add virtual_server condition based on Client SSL
- Possibility to configure DHCP relay on tier1-gateway interface level
- Can not find VM with the ID xxxxxxxxx HOT 13
- Incomplete documentation on how to configure static IP for TEP interfaces HOT 3
- nsx_edge_transport_node deploy failures (crash on syslog port + root object absent) HOT 1
- SNI certificates fail to be configured on the remote resource for nsxt_policy_lb_virtual_server HOT 3
- Add possibility to pass pre negociated token for authentification
- data nsxt_policy_vm fails to find VM in large (1k+) VM environment HOT 1
- Add the ability to create pollicy groups that are of the "IP Address Only" type.
- nsx_edge_transport_node deploy failure (root object absent) HOT 6
- nsxt_policy_tier0_inter_vrf_routing bgp_route_leaking in_filter and out_filter HOT 2
- nsxt_policy_project short_id is not marked ForceNew HOT 6
- Beta resource nsxt_policy_security_policy_rule misses certain configuration changes made outside of Terraform HOT 1
- Apply security policy to Antrea Container Clusters HOT 2
- Error: PolicyUplinkHostSwitchProfile with name 'uplink-profile-edge' was not found HOT 4
- MIssing resources for policy loadbalancers (profiles and monitors) HOT 3
- nsxt_policy_group member_type policy evolve HOT 2
- Custom Context Profiles with custom attributes HOT 2
- Add 'nat_type' in resource 'nsxt_policy_nat_rule' (INTERNAL, USER, DEFAULT) 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-nsxt.