numerous-journalist-4363809/26/2023, 5:40 PM
The issue that I'm having is that the resource is added to secretsmanager with a UID, but I would only like the name (without the appended UID). I've tried passing the name with the property
apm_secret = secretsmanager.Secret( resource_name="APM_SECRET", )
but I receive the following TypeError:
Does anyone know how to achieve the desired result of the secret stored with the name
FAILED tests/test_elk.py::TestELK::test_infra_aws - TypeError: Secret.__init__() missing 1 required positional argument: 'resource_name'
without a UID added to the end?
dry-keyboard-9479509/26/2023, 6:53 PM
. The resource name is for state tracking in pulumi
numerous-journalist-4363809/26/2023, 9:25 PM