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

Rename existing WAF to fix existing environment build failure #2037

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

dwhitestratiform
Copy link
Contributor

Description

upon merging to the main integration branch (in QMR's case master) the deploy failed updating the WAF with the following error.

Error: CREATE_FAILED: WafPluginAcl (AWS::WAFv2::WebACL) Resource handler returned message: "AWS WAF couldn?t perform the operation because some resource in your request is a duplicate of an existing one. (Service: Wafv2, Status Code: 400, Request ID: 24371deb-7bc0-42ba-a855-12bec4e67b5b)" (RequestToken: 30c004da-370d-38d2-3561-be2fc9a79ea4, HandlerErrorCode: AlreadyExists)

This PR is to rename the waf to a unique name to allow the deploy to run through successfully.

Related ticket(s)

https://jiraent.cms.gov/browse/CMDCT-2942


How to test

Merge and verify deploy runs through cleanly in the master branch as well as go to aws console and verify the rename

Important updates

upon success copy this PR over to the exiting PR so it is not lost for updating other products.
#2036


Author checklist

  • I have performed a self-review of my code
  • I have added thorough tests, if necessary
  • I have updated relevant documentation, if necessary

convert to a different template: test → val | val → prod

Copy link

codeclimate bot commented Jan 23, 2024

Code Climate has analyzed commit 56ac197 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 73.1% (0.0% change).

View more on Code Climate.

@dwhitestratiform dwhitestratiform merged commit d55e349 into master Jan 23, 2024
170 checks passed
@dwhitestratiform dwhitestratiform deleted the rename-waf branch January 23, 2024 16:00
@dwhitestratiform dwhitestratiform restored the rename-waf branch January 30, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants