helpful-baker-3769
08/16/2023, 2:38 AMProgram
CR? I have this in my `Stack`:
---
apiVersion: <http://pulumi.com/v1|pulumi.com/v1>
kind: Stack
metadata:
name: github
spec:
stack: budimanjojo/github
programRef:
name: github
destroyOnFinalize: true
envRefs:
GITHUB_OWNER:
type: Literal
literal:
value: budimanjojo
GITHUB_TOKEN:
type: Secret
secret:
name: github-secret
key: GITHUB_TOKEN
PULUMI_ACCESS_TOKEN:
type: Secret
secret:
name: github-secret
key: PULUMI_ACCESS_TOKEN
secretsRef:
test_secret:
type: Secret
secret:
name: github-secret
key: test_secret
in my Program
, I want to access the test_secret
but I got this error: resource "test_secret" not found
. Here's the Program:
---
apiVersion: <http://pulumi.com/v1|pulumi.com/v1>
kind: Program
metadata:
name: github
program:
resources:
exampleVariable:
type: github:ActionsSecret
properties:
repository: pulumi-testing
secretName: test_secret
encryptedValue: ${test_secret}
straight-fireman-55591
08/16/2023, 8:03 AMhelpful-baker-3769
08/16/2023, 8:05 AMProgram
CR to workstraight-fireman-55591
08/16/2023, 8:07 AMhelpful-baker-3769
08/16/2023, 8:19 AMstraight-fireman-55591
08/16/2023, 8:20 AM