-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Module updates attached volumes even with ignore tags #433
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
Comments
So, I'm doing something like this so that the ebs volumes I attach can be customised... I'm using for_each as in my ec2 module, I'm using diffrent type of VMs too with varying sizes of attached EBS volumes... It hink the version 4.5 "broke" this as I can see in the changes that the volume tags handling was added there. Is there a way for me to ignore that ebs related handling of tags by the module? or at least for the module to not "bypass" the lifecycle block of ignoring tags? @jebbens |
I'm not super familiar with this module - I made one small commit years ago - but, did you try adding the volumes using the |
in conjunction with #433 - we probably need to refactor the module to not use the inline |
Uh oh!
There was an error while loading. Please reload this page.
Using this module while adding and attaching ebs volume resource separately...
I added an aws_ebs_volume, and aws_volume_attachment that works in conjunction with this module. I manage the tags as well on the ebs_volume (separate from the module tags... However, once an EC2 instance is built (with the EBS volumes attached, and tags managed separately) The module tries to update the name of a managed volume (that it doesn't manage
If your request is for a new feature, please use the
Feature request
template.Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: 5.8.0
Terraform version:
1.12
Provider version(s):
aws 5.94.1
Reproduction Code [Required]
Steps to reproduce the behavior:
Using TF workspace
Expected behavior
It will not update the tags of the EBS volumes
Actual behavior
It's updating the EBS volumes
The text was updated successfully, but these errors were encountered: