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

ibm_is_virtual_endpoint_gateway does not wait for the VPE to be Stable #2236

Open
l2fprod opened this issue Feb 5, 2021 · 0 comments
Open
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@l2fprod
Copy link
Member

l2fprod commented Feb 5, 2021

When creating a VPE, the terraform provider does not wait for it to be fully ready:

I have a template with:

resource "ibm_is_virtual_endpoint_gateway" "redis" {
  name = "redis"
  target {
    crn           = data.terraform_remote_state.redis.outputs.redis.id
    resource_type = "provider_cloud_service"
  }
  ips {
    subnet = module.vpc_a.vpc_subnets[0].id
    name   = "redis-reserved-ip"
  }
  vpc            = module.vpc_a.vpc.id
  resource_group = data.terraform_remote_state.account_structure.outputs.resource_group.id
  tags           = var.tags
}

After I apply the template, if I go in the IBM Cloud UI or CLI, the VPE is still "Pending". I would expect terraform only return from apply after the VPE is "Stable".

Terraform Version

Terraform v0.14.6
IBM provider v1.20.1

Affected Resource(s)

  • ibm_is_virtual_endpoint_gateway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants