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

Special timeouts block not accepted within resource blocks #19143

Closed
apparentlymart opened this issue Oct 19, 2018 · 2 comments
Closed

Special timeouts block not accepted within resource blocks #19143

apparentlymart opened this issue Oct 19, 2018 · 2 comments
Labels
Milestone

Comments

@apparentlymart
Copy link
Contributor

Terraform Version

Terraform v0.12.0-alpha1

Terraform Configuration Files

resource "aws_vpc" "example" {
  # ...

  timeouts {
    create = "10m"
  }
}

Expected Behavior

When a resource type supports the custom timeouts mechanism, the special timeouts block should be accepted within a configuration block for it, and the values passed through to the provider to actually implement those timeouts.

Actual Behavior

In Terraform v0.12-alpha1, the bundled providers do not report that they accept this special block type and so including a block of this type in the configuration will incorrectly fail validation.

Workaround

To work around this for the purposes of v0.12-alpha1 testing, the only recourse for the moment is to temporarily remove the timeouts block from any resource blocks that have it.

@apparentlymart
Copy link
Contributor Author

This was fixed by #19222, which is included in the alpha2 build.

@ghost
Copy link

ghost commented Mar 31, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Mar 31, 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

1 participant