numerous-journalist-43638
09/26/2023, 5:40 PMpulumi_aws
library
apm_secret = secretsmanager.Secret(
resource_name="APM_SECRET",
)
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 name="APM_SECRET"
but I receive the following TypeError:
FAILED tests/test_elk.py::TestELK::test_infra_aws - TypeError: Secret.__init__() missing 1 required positional argument: 'resource_name'
Does anyone know how to achieve the desired result of the secret stored with the name APM_SECRET
without a UID added to the end?dry-keyboard-94795
09/26/2023, 6:53 PMname=...
.
The resource name is for state tracking in puluminumerous-journalist-43638
09/26/2023, 9:25 PM