Skip to content

Commit

Permalink
Fix account annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Jan 4, 2025
1 parent 56490f9 commit 6162dcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/handlers/AddAccountToCatalog/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def _get_entity_data(account_info: AccountTypeWithTags, auth: JwtAuth) -> Entity
'description': account_info.get('Name', ''),
'annotations': {
"io.serverlessops/cloud-provider": "aws",
'aws:account-id': account_id,
'aws:account-email': account_info.get('Email', ''),
'aws:arn': account_info.get('Arn', ''),
'aws.amazon.com/account-id': account_id,
'aws.amazon.com/account-email': account_info.get('Email', ''),
'aws.amazon.com/arn': account_info.get('Arn', ''),
},
'links': entity_links
})
Expand Down

0 comments on commit 6162dcf

Please sign in to comment.