-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
"-target" doesn't work with modules #1434
Comments
We encountered this yesterday as well. It would be nice to be able to target an entire module. |
btw. I thought I'm gonna get around that, but this doesn't work either:
nor this
|
+1 this is currently impacting us. |
Ditto 👍 -- modules not being in the same graph as the root resources is causing us a lot of pain (also with dependency resolution). |
Adds the ability to target resources within modules, like: module.mymod.aws_instance.foo And the ability to target all resources inside a module, like: module.mymod Closes #1434
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. |
I'm not sure if this is a bug or a feature, but
-target
does not work with modules. See below:sample.tf
:The text was updated successfully, but these errors were encountered: