Comments (4)
Indeed my import works with an nsxt_policy_fixed_segment.
Many tanke for this info @salv-orlando
What are the differences between nsxt_policy_fixed_segment and nsxt_policy_segment?
from terraform-provider-nsxt.
Hello,
The search aggregate API query you reported does not specify the resource_type.
I might be wrong but I think the segment created by HCX are tier-1 segments.
Which resource or data source did you use?
Did you try using nsxt_policy_fixed_segment
as well?
@annakhm moving this into your queue.
from terraform-provider-nsxt.
Hello,
I use nsxt_policy_segment in my case. I don't test nsxt_policy_fixed_segment.
My Code;
``resource "nsxt_policy_segment" "segments" {
lifecycle {
ignore_changes = [security_profile]
}
for_each = local.segments
display_name = each.key
description = each.value.description
connectivity_path = "/infra/tier-1s/cgw"
transport_zone_path = data.nsxt_policy_transport_zone.transport_zone.path
tag {
scope = each.value.env
tag = "env"
}
tag {
scope = each.value.app
tag = "app"
}
subnet {
cidr = each.value.subnet
}
advanced_config {
connectivity = "OFF"
}
}``
from terraform-provider-nsxt.
Hi @gmoulard, segment and fixed segment are different API endpoints in NSX, fixed segment is always attached to a gateway, while regular segment can be detached. Other than that, those segments are very similar.
from terraform-provider-nsxt.
Related Issues (20)
- Support GRE tunnels for Tier-0
- Unable to retrieve Policy Segment data when there is a "/" in the display_name
- resource and data for VPC - quotas for projects HOT 5
- nsxt_policy_security_policy remove rule comments and does not allow to set it. HOT 3
- Importing T1 information failing on VMC-NSX-T HOT 17
- Is there a way to import an existing DFW policy set into terraform ? HOT 2
- Interoperability with NSX-T v4.1 HOT 2
- Inter VRF Routing HOT 2
- nsxt_transport_node resource fails to create edge node when using a VLAN segment path in data_network_id HOT 13
- Add host_switch_name under standard_host_switch specification for nsxt_transport_node resource HOT 2
- IDS profile product list - bad support HOT 3
- Allow IDS/IPS policies to leverage the 'applied to' field HOT 1
- Bulk import feature for nsx-t - [services and groups] into terraform
- Infos of data.nsxt_policy_segment_realization can't export/show via output at least in terraform plan HOT 2
- BGP AS Number in VRF Tier-0 Gateway HOT 4
- Tier-1 gateway is deployed in SR mode when cluster path defined and HA_MODE set to NONE instead of DR. HOT 3
- Datasource for transport node collections state
- Multi-TEP High Availability HOT 1
- Error: Failed to retrieve NSX version (com.vmware.vapi.std.errors.service_unavailable). HOT 4
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.