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

Bug: Remove bucket_versioning and bucket_force_destroy from bastion linux module #6114

Closed
davidkelliott opened this issue Feb 1, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@davidkelliott
Copy link
Contributor

Expected Behavior

TFlint is failing because bucket_versioning and bucket_force_destroy are declared but not used:
https://github.com/ministryofjustice/modernisation-platform-terraform-bastion-linux/actions/runs/7742030400/job/21110231383?pr=350

Actual Behavior

These should be removed from the module, please note this is a breaking change, and the environments repo will need to be updated to remove references to these variables.

Steps to Reproduce the Problem

  1. Run TFlint in the module

Version

No response

Modules

No response

Account

No response

@mikereiddigital
Copy link
Contributor

Draft PR with the changes made. The unit test is failing due to the max number of s3 buckets being exceeded in testing-test. Looking into why these buckets are not being cleared down by the weekly nuke.

@mikereiddigital
Copy link
Contributor

Unit Test has run after removing some of the 100+ buckets in testing-test and clearing down IAM resources that had not been created by previous runs but which had not been cleared. Will now complete the PR and create a new release.

@mikereiddigital
Copy link
Contributor

@mikereiddigital mikereiddigital moved this from In Progress to Done in Modernisation Platform Feb 6, 2024
@dms1981 dms1981 closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants