hey guys, has anyone experience with esc and dynam...
# getting-started
c
hey guys, has anyone experience with esc and dynamic secrets from aws? basically my kms secret arn is a stack output and I want to use it to resolve the secret, like so
Copy code
values:
  stackRefs:
    fn::open::pulumi-stacks:
      stacks:
        coreInfra:
          stack: core-infra/dev
  secrets:
    fn::open::aws-secrets:
      region: eu-central-1
      login: ${aws.login}
      get:
        rds-credentials:
          secretId: ${stackRefs.coreInfra.dbKmsKeyId}
however, esc refuses this
Copy code
values.stackRefs:
		Error: unexpected value of type resource.PropertyValue
r
Hey Jonas! Sorry you're running into issues here - can you show how this value is exported from the
core-infra/dev
stack?
c
ok I could finally solve it 🥳 I was exporting incorrect values into the stack which was creating issues when importing it