Skip to content

Invalid import command generated for tunnel config #927

@fsx8

Description

@fsx8

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have replicated my issue using the latest version of the library and it is still present.

cf-terraforming version

0.24.0

Expected outcome

Generated tf import command ends with account_id/tunnel_id, like:
terraform import cloudflare_zero_trust_tunnel_cloudflared_config.terraform_managed_resource_b59........0 account_id/tunnel_id

Actual outcome

Generated tf import command ends with account_id/account_id:
terraform import cloudflare_zero_trust_tunnel_cloudflared_config.terraform_managed_resource_b59........0 account_id/account_id
and I had to manually adjust it before running the command

Steps to reproduce

Run cf-terraforming import --resource-type "cloudflare_zero_trust_tunnel_cloudflared_config" --account "{your_account_id}" --resource-id="cloudflare_zero_trust_tunnel_cloudflared_config={your_tunnel_id}"

References

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions