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

Can't destroy a module without optional field being set at time of creation #77

Closed
hashibot opened this issue Jun 13, 2017 · 2 comments
Closed
Assignees
Labels

Comments

@hashibot
Copy link

This issue was originally opened by @selslack as hashicorp/terraform#13328. It was migrated here as part of the provider split. The original body of the issue is below.


Hello!

Terraform Version

Terraform v0.9.2

Affected Resource(s)

Please list the resources as a list, for example:

  • google_compute_address
  • google_compute_global_address
  • google_compute_instance

Maybe others with optional fields defaulting to something computed.

Expected Behavior

Resources created by that module are destroyed.

Actual Behavior

Error "project": required field is not set.

Steps to Reproduce

  1. Create a module with GCE resources listed above without optional field project set
  2. terraform apply
  3. Remove that module from definition
  4. terraform plan
@hashibot hashibot added the bug label Jun 13, 2017
@rosbo
Copy link
Contributor

rosbo commented Jan 10, 2018

This issue was fixed by #784 and release in google terraform provider version 1.3.0

@rosbo rosbo closed this as completed Jan 10, 2018
@rosbo rosbo self-assigned this Jan 10, 2018
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this issue May 21, 2019
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this issue May 21, 2019
@ghost
Copy link

ghost commented Mar 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants