gentle-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.wide-jackal-86020
05/06/2021, 11:29 PMwide-jackal-86020
05/06/2021, 11:29 PMcurved-summer-41191
05/07/2021, 1:09 AMvalues
section of the k8s.helm.v2.chart
resource
The issue is that every-time I run a pulumi up it looks like the secret values are changing in k8s and the checksums on the deployments are changing; any thoughts as to why?swift-telephone-15894
05/07/2021, 6:10 AM[resource plugin gcp-5.0.0] installing
Downloading plugin: 0 B / 34.41 MiB 0.00%
Downloading plugin: 3.51 MiB / 34.41 MiB 10.19% 1s
Downloading plugin: 10.03 MiB / 34.41 MiB 29.16%
Downloading plugin: 15.23 MiB / 34.41 MiB 44.25%
Downloading plugin: 20.62 MiB / 34.41 MiB 59.91%
Downloading plugin: 25.93 MiB / 34.41 MiB 75.36%
Downloading plugin: 31.06 MiB / 34.41 MiB 90.26%
Downloading plugin: 34.41 MiB / 34.41 MiB 100.00% 1s
pulumi:pulumi:Stack replayvalue-dev running
pulumi:providers:gcp default_5_2_0 error: no resource plugin 'gcp-v5.2.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource gcp v5.2.0`
pulumi:pulumi:Stack replayvalue-dev
pulumi:providers:gcp default_5_2_0 1 error
Diagnostics:
pulumi:providers:gcp (default_5_2_0):
error: no resource plugin 'gcp-v5.2.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource gcp v5.2.0`
freezing-quill-32178
05/07/2021, 8:14 AMdev
stacks and become
dev* n/a n/a
I’m trying to import the backup from dev.json.bak
but getting error: could not deserialize deployment: unexpected end of JSON input
from `pulumi stack import --file dev-bkp.json`… is there a way to directly import the bak
or something else beforehand should be done?… also pulumi refresh
doesn’t do anything…some-flower-64874
05/07/2021, 12:08 PMpulumi stack output
in a file using the Azure DevOps Pipeline task
We need to do some post processing using the stack output on azure devops. I want to do this with a service connection to avoid having to worry about secrets. If I run pulumi using the azure CLI task I'm getting an error relating to connecting to the blob container that's used for the pulumi back end.
This is notionally easy to fix, run pulumi stack output --json
using the pulumi task (which I know will work because pulumi up
works) capturing the output to a file that I can then feed into the powershell that does the things we can't currently do with pulumi. Except I can't capture the output 😢
Open to suggestions at this point (before I put a feature request in to add --output to the CLI)sticky-translator-17495
05/07/2021, 12:54 PMwide-jackal-86020
05/07/2021, 12:56 PMwide-jackal-86020
05/07/2021, 12:56 PM