Skip to content
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

panos_vm_information_source create the object but seems to have issue reading the state #419

Open
chernogorsky opened this issue Nov 8, 2023 · 0 comments
Labels

Comments

@chernogorsky
Copy link

Describe the bug

I have the following object
resource "panos_vm_information_source" "name" {
name = "name"
template_stack = "template_stack"
aws_vpc {
description = "terraform. "
source = "ec2.eu-west-1.amazonaws.com"
access_key_id = local.VM_SOURCE_API_KEY
secret_access_key = local.VM_SOURCE_SECRET
vpc_id = "some_vpc_id"
}

lifecycle {
    create_before_destroy = true
}

}

During apply I have:
panos_vm_information_source.name: Creating...

│ Error: Provider produced inconsistent result after apply

│ When applying changes to panos_vm_information_source.name, provider "provider["registry.terraform.io/paloaltonetworks/panos"]" produced an unexpected new value: Root object was present, but now absent.

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Panorama object created successfully.

Expected behavior

Create the object, read it state, write terraform state

Current behavior

Create the object, error, no terraform state

Your Environment

paloaltonetworks/panos v1.11.1.
Panorama: Software Version | 10.2.4-h4
Terraform v1.6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant