ancient-thailand-47587
01/09/2024, 11:03 PMerror: Program failed with an unhandled exception:
Traceback (most recent call last):
File "/Users/vincent/workspace/sre/platform-vpc-install/__main__.py", line 5, in <module>
from autotag import register_auto_tags
ModuleNotFoundError: No module named 'autotag'
Am I missing a pip install of a package? The doc doesn’t say to pip install anything…billions-river-87988
01/09/2024, 11:08 PMancient-thailand-47587
01/09/2024, 11:11 PMregister_auto_tags
and auto_tag
in a file called autotag
?billions-river-87988
01/09/2024, 11:11 PMautotag.py
ancient-thailand-47587
01/09/2024, 11:12 PMbillions-river-87988
01/09/2024, 11:13 PM__init__.py
somewhereancient-thailand-47587
01/09/2024, 11:13 PMfrom taggable import is_taggable
Where is that being imported from?billions-river-87988
01/09/2024, 11:14 PM__main__.py
file you are using and get rid of the importsbillions-river-87988
01/09/2024, 11:14 PMancient-thailand-47587
01/09/2024, 11:14 PMbillions-river-87988
01/09/2024, 11:15 PMbillions-river-87988
01/09/2024, 11:15 PMancient-thailand-47587
01/09/2024, 11:15 PMbillions-river-87988
01/09/2024, 11:16 PMancient-thailand-47587
01/09/2024, 11:17 PMancient-thailand-47587
01/09/2024, 11:20 PMbillions-river-87988
01/09/2024, 11:21 PMancient-thailand-47587
01/09/2024, 11:22 PMpolicy-config.json
which lead me to think auto-tagging requires a policy enforcement.billions-river-87988
01/09/2024, 11:25 PMancient-thailand-47587
01/09/2024, 11:25 PMtaggable.py
has not been updated in 4 years. Is there an updated list of taggable_resource_types?billions-river-87988
01/09/2024, 11:26 PMbillions-river-87988
01/09/2024, 11:26 PMancient-thailand-47587
01/09/2024, 11:26 PMancient-thailand-47587
01/09/2024, 11:27 PMbillions-river-87988
01/09/2024, 11:27 PMbillions-river-87988
01/09/2024, 11:28 PMancient-thailand-47587
01/09/2024, 11:30 PMbillions-river-87988
01/09/2024, 11:31 PMancient-thailand-47587
01/09/2024, 11:31 PMancient-thailand-47587
01/09/2024, 11:34 PMancient-thailand-47587
01/09/2024, 11:35 PMancient-thailand-47587
01/09/2024, 11:39 PMancient-thailand-47587
01/09/2024, 11:43 PMaws.Provider().get_provider(<created-provider-name>)
I don’t think this is the correct usage to query for a create provider.billions-river-87988
01/09/2024, 11:47 PMancient-thailand-47587
01/09/2024, 11:49 PMancient-thailand-47587
01/09/2024, 11:51 PMbillions-river-87988
01/09/2024, 11:51 PMancient-thailand-47587
01/09/2024, 11:54 PMaws.s3.BucketV2(
resource_name=self.get_name(),
args=self.get_bucket_args(),
opts=pulumi.ResourceOptions(provider=aws.Provider(
f"{self.__name}-{region}", region=region))))
here the Provider also gets created.ancient-thailand-47587
01/09/2024, 11:55 PMancient-thailand-47587
01/09/2024, 11:56 PMbillions-river-87988
01/09/2024, 11:58 PMancient-thailand-47587
01/10/2024, 12:00 AMbillions-river-87988
01/10/2024, 12:02 AMancient-thailand-47587
01/10/2024, 12:03 AMbillions-river-87988
01/10/2024, 12:03 AMancient-thailand-47587
01/10/2024, 12:03 AMancient-thailand-47587
01/10/2024, 12:04 AMbillions-river-87988
01/10/2024, 12:05 AMself.get_name()
maybe its just a naming collision on your resourcesancient-thailand-47587
01/10/2024, 12:07 AMbillions-river-87988
01/10/2024, 12:07 AM