Skip to content

Add moved configuration blocks#63

Merged
jsf9k merged 1 commit intodevelopfrom
improvement/add-move-config-blocks
Mar 7, 2025
Merged

Add moved configuration blocks#63
jsf9k merged 1 commit intodevelopfrom
improvement/add-move-config-blocks

Conversation

@jsf9k
Copy link
Copy Markdown
Member

@jsf9k jsf9k commented Mar 7, 2025

🗣 Description

This pull request adds moved configuration blocks for resources that were simply renamed in #62.

💭 Motivation and context

These will stop Terraform from destroying and recreating these resources if they are simply being renamed.

🧪 Testing

All automated tests pass. I also pointed the Terraform code in cisagov/ansible-role-cyhy-archive#60 to this branch and verified that it simply moved the resources. Without these changes that same Terraform code wanted to destroy and recreate the resources.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

These will stop Terraform from destroying and recreating these
resources if they are simply being renamed.
@jsf9k jsf9k added improvement This issue or pull request will add or improve functionality, maintainability, or ease of use terraform Pull requests that update Terraform code labels Mar 7, 2025
@jsf9k jsf9k self-assigned this Mar 7, 2025
@jsf9k jsf9k requested review from dav3r, felddy and mcdonnnj as code owners March 7, 2025 17:33
@jsf9k jsf9k requested a review from a team March 7, 2025 17:35
@jsf9k jsf9k enabled auto-merge March 7, 2025 17:35
@jsf9k jsf9k merged commit 0571e90 into develop Mar 7, 2025
4 checks passed
@jsf9k jsf9k deleted the improvement/add-move-config-blocks branch March 7, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement This issue or pull request will add or improve functionality, maintainability, or ease of use terraform Pull requests that update Terraform code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants