Skip to content

Commit

Permalink
f: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjjung committed Dec 12, 2024
1 parent 1eb2b33 commit 38121e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tb_pulumi/cloudwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def __init__(
# The next two lines are useful for debugging monitoring setups since that logic depends largely on obscure
# class names. These will show all resources and their classes in a project as well as a filtered list of
# those resources correctly detected by the logic above.
# pulumi.info(f'All resources: {'\n'.join([str(res.__class__) for res in self.project.flatten()])}')
# pulumi.info(f'Supported resources: {supported_resources}')
pulumi.info(f'All resources: {'\n'.join([str(res.__class__) for res in self.project.flatten()])}')
pulumi.info(f'Supported resources: {supported_resources}')
for res in supported_resources:
shortname = res._name.replace(f'{self.project.name_prefix}-', '') # Make this name shorter, less redundant
alarms[res._name] = supported_types[type(res)](
Expand Down

0 comments on commit 38121e5

Please sign in to comment.