Skip to content

Commit

Permalink
Change iam session name
Browse files Browse the repository at this point in the history
When doing a cross-account DNS update the IAM session name was still
using "valheim" in the name, which is the project I extracted this from.

Just changing the name here to match the library name.
  • Loading branch information
raykrueger committed Mar 18, 2023
1 parent fcb49ea commit 18ebcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/functions/public_ip_manager/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def update_dns(public_ip, hosted_zone, domain_name, assumed_role=None):
if assumed_role:
sts = boto3.client("sts")
sts_response = sts.assume_role(
RoleArn=assumed_role, RoleSessionName="valheim-r53-updater"
RoleArn=assumed_role, RoleSessionName="cdk-fargate-public-dns"
)

credentials = sts_response["Credentials"]
Expand Down

0 comments on commit 18ebcc7

Please sign in to comment.