Skip to content

inport bunnynet_pullzone #15

@s5002557

Description

@s5002557

When I import a bunnynet_pullzone created automatically from an A DNS record (for example test-cdn-new.com to ip 12.12.12.12)
origin.url on bunny will be cty.StringVal("https://12.12.12.12") or cty.StringVal("http://12.12.12.12")
If I manually change the origin URL in the Bunny.net web console from "http://12.12.12.12" to "https://12.12.12.12" the cty.StringVal value will be set to "https://12.12.12.12:443"
I would like to terraform can change this value if in banny set diferent value or when auto create bunnynet_pullzone from A DNS record cty.StringVal set "https://12.12.12.12:443"
error:

│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to bunnynet_pullzone.pullzone["test-cdn-new.com"], provider "provider[\"registry.terraform.io/bunnyway/bunnynet\"]" produced an unexpected new value: .origin.url: was cty.StringVal("https://12.12.12.12"), but now
│ cty.StringVal("https://12.12.12.12:443/").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

terraform and provider:

terraform -version
Terraform v1.9.0
on darwin_arm64
+ provider registry.terraform.io/bunnyway/bunnynet v0.3.15
+ provider registry.terraform.io/hashicorp/aws v4.67.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions