Open kaje783 opened 7 months ago
@annakhm can you please look at this bug?
Hi @kaje783, thanks for reporting this. Here is the output that I see when trying to replicate your scenario:
Plan: 1 to add, 0 to change, 1 to destroy.
Changes to Outputs:
+ network = {
+ Test-mgmt = {
+ context = []
+ id = (known after apply)
+ network_name = (known after apply)
+ path = (known after apply)
+ state = (known after apply)
}
}
May I ask what is your version of terraform? I don't think this can be related to the provider, rather to terraform core, but I'm curious what the difference in our cases might be.
Describe the bug
The information from the data element nsxt_policy_segment_realization is not displayed via the output element
Reproduction steps
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
Terraform will perform the following actions:
data.nsxt_policy_segment_realization.tenant_networks["Test-mgmt"] will be read during apply
(config refers to values not yet known)
<= data "nsxt_policy_segment_realization" "tenant_networks" {
id = (known after apply)
network_name = (known after apply)
path = (known after apply)
state = (known after apply) }
nsxt_policy_project.tenant_networks will be created
description = "Terraform provisioned and managed Project"
display_name = "test"
id = (known after apply)
nsx_id = (known after apply)
path = (known after apply)
revision = (known after apply)
short_id = (known after apply) }
nsxt_policy_segment.tenant_networks["500"] will be created
description = "provisioned and managed with Terraform"
display_name = "Test-mgmt"
id = (known after apply)
nsx_id = (known after apply)
overlay_id = (known after apply)
path = (known after apply)
replication_mode = "MTEP"
revision = (known after apply)
transport_zone_path = "/infra/sites/default/enforcement-points/default/transport-zones/"
discovery_profile {
security_profile {
Plan: 2 to add, 0 to change, 0 to destroy.
Changes to Outputs:
─────────────────────────────────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now.
Changes to Outputs:
Additional context
Config:
main.tf
var.tf
provider.tf
Testdata:
terraform.tfvars