#terraform (2024-11)

terraform Discussions related to Terraform or Terraform Modules

Archive: https://archive.sweetops.com/terraform/

2024-11-06

Release notes from terraform avatar
Release notes from terraform
02:03:31 PM

v1.11.0-alpha20241106 1.11.0-alpha20241106 (November 6, 2024) EXPERIMENTS: Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.

terraform test accepts a new option -junit-xml=FILENAME. If specified, and if the test configuration is valid enough to begin executing, then Terraform writes a JUnit XML test result report to the given filename, describing similar information as included in the normal test output. (<a…

Release v1.11.0-alpha20241106 · hashicorp/terraformattachment image

1.11.0-alpha20241106 (November 6, 2024) EXPERIMENTS: Experiments are only enabled in alpha releases of Terraform CLI. The following features are not yet available in stable releases.

terraform tes…

2024-11-07

setheryops avatar
setheryops

One of my devs created a security group in AWS using terraform. He has create_before_destroy set to false Now he needs to replace that SG but can not cause downtime by having the first SG deleted and the recreated. If he sets create_before_destroy to true after the SG already exists will terraform honor that and create the new SG along with rules before destroying the older SG? Im thinking it will but ive never tried it and I dont want to test in prod

loren avatar

safest option would be to make only the change to create_before_destroy, set it to true. apply that. then make the other “replacing” changes and apply.

setheryops avatar
setheryops

Hmm….Ill see what I can do with that. I think he already has some changes that went through for rules he changed. Thx though.

loren avatar

you could perhaps also set up a similar situation yourself, on a non-prod environment, and see how it goes

2024-11-11

    keyboard_arrow_up