proud-art-41399
05/04/2021, 5:22 AMlemon-monkey-228
05/04/2021, 7:21 AMconfig.cloudWatchEnabled
then only run Pulumi components if that’s truerough-arm-38844
05/04/2021, 11:04 AMdamp-school-17708
05/04/2021, 11:59 AMwet-noon-14291
05/04/2021, 2:00 PMmysterious-wolf-74677
05/04/2021, 6:09 PMprehistoric-bird-72020
05/04/2021, 7:49 PMconst secret = k8s.core.v1.Secret.get(...)
and using it in a new Secret. The data
field is being displayed in my plan rather than being obscured. I tried adding additionalSecretOutputs: ['data']
. Is there something else I should be doing, or would it be displayed in the plan as text but is being encrypted in Pulumi?refined-ambulance-81475
05/04/2021, 11:31 PMgentle-toddler-99412
05/05/2021, 9:41 AMboundless-angle-56560
05/05/2021, 9:47 AMwet-noon-14291
05/05/2021, 2:06 PMrough-dinner-7791
05/05/2021, 2:54 PMbumpy-summer-9075
05/05/2021, 5:34 PMpulumi stack select foo
)? How can I see which stack is currently selected?worried-knife-31967
05/05/2021, 5:50 PMfreezing-gpu-70242
05/05/2021, 5:50 PMmillions-judge-24978
05/05/2021, 6:04 PMpulumi.runtime.setMocks
.
I have some tests that work fine before updating, but after updating fail with an error like
failed to read resource #user 'test-user' [aws:dynamodb/table:Table]: req.getCustom is not a function
cold-car-67614
05/05/2021, 6:55 PMrefined-ambulance-81475
05/05/2021, 7:19 PMlittle-cartoon-10569
05/06/2021, 1:23 AM[409] This organization does not support Policy as Code.
little-cartoon-10569
05/06/2021, 1:35 AMError: Cannot find module '/pulumi/projects/main/pulumi/policy-packs/localpolicies/package.json'
little-cartoon-10569
05/06/2021, 3:12 AMfresh-hospital-81544
05/06/2021, 4:00 AMgorgeous-country-43026
05/06/2021, 5:54 AMfierce-engine-31599
05/06/2021, 12:20 PMconst runningService = pulumi.output(
gcp.cloudrun.getService(
{ name, location },
{
async: true,
},
),
);
const service = new gcp.cloudrun.Service(
name,
{
name,
// autogenerateRevisionName: true,
location,
traffics: runningService.traffics,
template: {
metadata: {
name: 'api-rolling-test3',
annotations: {
'<http://run.googleapis.com/vpc-access-connector|run.googleapis.com/vpc-access-connector>': vpcConnector.name,
'<http://run.googleapis.com/vpc-access-egress|run.googleapis.com/vpc-access-egress>': 'private-ranges-only',
},
},
spec: {
serviceAccountName: serviceAccount.email,
containers: [
{
image,
resources: { limits: { cpu: '1', memory: '512Mi' } },
envs: secrets,
},
],
containerConcurrency: 250,
},
},
},
{ dependsOn: [...iamMembers, redis] },
);
Above is the service creation and then I want to update only the traffic property so I'm trying to create another service:
new gcp.cloudrun.Service(
name,
{
name,
location,
traffics: [
{
revisionName: runningService.traffics[0].revisionName,
percent: 99,
},
{
revisionName: service.template.apply(
(template) => template?.metadata.name || '',
),
percent: 1,
},
],
},
{ dependsOn: [service] },
);
But it throws duplicate urn error 🥴glamorous-vase-18727
05/06/2021, 12:42 PMbored-oyster-3147
05/06/2021, 3:07 PMfull-artist-27215
05/06/2021, 3:27 PMwitty-vegetable-61961
05/06/2021, 9:40 PMbrave-angle-33257
05/06/2021, 10:56 PMroot@6d65e624ef9c:/data/pulumi/infra/aws/environment/appsync# pulumi stack select appsync.e_stage.n_main.r_us-west-2
error: constructing secrets manager of type "passphrase": unable to find either `PULUMI_CONFIG_PASSPHRASE` or `PULUMI_CONFIG_PASSPHRASE_FILE` when trying to access the Passphrase Secrets Provider; please ensure one of these environment variables is set to allow the operation to continue
root@6d65e624ef9c:/data/pulumi/infra/aws/environment/appsync# env | grep PULUMI_CONFIG_PASSPHRASE
PULUMI_CONFIG_PASSPHRASE=
root@6d65e624ef9c:/data/pulumi/infra/aws/environment/appsync# pulumi version
v3.2.0
wide-jackal-86020
05/06/2021, 11:28 PMpulumi up
, I was given this message
Previewing update (dev)
View Live: <https://app.pulumi.com/zhouyu1800/documents_api/dev/previews/d3783c77-2df4-436a-a792-a9b8205c9be8>
Type Name Plan Info
pulumi:pulumi:Stack documents_api-dev
└─ aws:iam:Role documentsPost 1 error
Diagnostics:
aws:iam:Role (documentsPost):
error: AWS Account ID not allowed: 228886564947
But I never know that account.