Skip to content

Commit

Permalink
Move method description to correct method
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-griffin committed Dec 9, 2024
1 parent ee0a111 commit b699a55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application-load-balancer/lambda_function/secret_rotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ def process_cf_distributions_and_WAF_rules(self, matching_distributions, pending
"""
Process CloudFront distributions based on whether the custom header is already present.
If the custom header is missing, it will be added to the distribution.
Updates the WAF ACL & the CloudFront distributions with the AWSPENDING & AWSCURRENT secret values.
This method should set the AWSPENDING secret in the service that the secret belongs to.
Sleep 75 seconds to allow resources to update
"""
all_have_header = True # Assume all distributions have the header initially

Expand Down

0 comments on commit b699a55

Please sign in to comment.