acoustic-camera-18430
04/14/2020, 10:14 PMeager-cartoon-54068
04/14/2020, 10:48 PMlet batchLogGroup = null;
try {
batchLogGroup = aws.cloudwatch.LogGroup.get(`batch-log-group-${region}`, '/aws/batch/job', {}, {provider})
} catch (e) {
batchLogGroup = new aws.cloudwatch.LogGroup(`batch-log-group-${region}`, {name: "/aws/batch/job", retentionInDays: 7}, {provider})
}
I get `error: Preview failed: resource ‘/aws/batch/job’ does not exist
.able-zoo-58396
04/14/2020, 11:02 PMhigh-jackal-29091
04/15/2020, 8:33 AMconst ami = aws.getAmi({
mostRecent: false,
owners: ["0123456"], // my AWS account ID
}, { provider: args.provider });
let imageId = ami.imageId || ami.id;
console.log('IMAGE ID: ' + imageId);
//result: Your query returned more than one result. Please try a more specific search criteria, or set `most_recent` attribute to true.
const ami = aws.getAmi({
filters: [
{
name: "name",
values: ['non existing ami name'],
}
],
mostRecent: true,
owners: ["0123456"], // my AWS account ID
}, { provider: args.provider });
let imageId = ami.imageId || ami.id;
console.log('IMAGE ID: ' + imageId);
// result: Your query returned no results. Please change your search criteria and try again.
const ami = aws.getAmi({
mostRecent: true,
owners: ["0123456"], // my AWS account ID
}, { provider: args.provider });
let imageId = ami.imageId || ami.id;
console.log('IMAGE ID: ' + imageId);
//result: IMAGE ID: undefined
stale-minister-93676
04/15/2020, 12:42 PMwhite-eve-77500
04/15/2020, 12:58 PMstale-minister-93676
04/15/2020, 1:26 PMdisks: [{ label: 'backups', size: 100 }]
which gives me the following error vsphere:index/virtualMachine:VirtualMachine resource 'NFS1P' has a problem: "disk.0.attach": conflicts with datastore_cluster_id
red-salesclerk-85731
04/15/2020, 4:25 PMpulumi.log.error()
in ts, without a resource. When running up, the error shows up in preview yet Pulumi asks me if I want to deploy the changes. The docs says it should stop processing. Am I doing something wrong here?
error logs a fatal error to indicate that the tool should stop processing resource operations immediately.
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/log/#error
eager-cartoon-54068
04/15/2020, 4:33 PMerror: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:49758: connect: connection refused"
… panic: fatal: An assertion has failed: Expected diff to not require deletion or replacement during Update of urn:pulumi:dev::<project>::aws:batch/computeEnvironment:ComputeEnvironment::gpu-worker-computeEnvironment-us-east-1
last night. I destroyed the stack, rebooted, backed out all changes to a point that was definitely working. I don’t know what else to try. Any ideas? A change to an AWS Batch Compute Environment almost always results in a replacement.mammoth-address-60583
04/15/2020, 7:18 PMexport const param = new aws.ssm.Parameter("mySecVal", {
type: "SecureString",
value: 'Some Value'
})
However, when I try to get this value in my Lambda I I can't access by the name mySecVal
AWS says the parameter doesn't exist. I can pull it if I use the pulumi name mySecValue
. Is there a pulumi way of pulling this value by the name I gave it in my lambda or Is there anyway to have this parameter stored without the pulumi id that get's tacked on at the end.?salmon-ghost-86211
04/15/2020, 8:35 PMpulumi up
, I get
Diagnostics:
aws:route53:Record (newDnsAlias-rw):
error: Duplicate resource URN 'urn:pulumi:qa-red::eks-cluster::aws:route53/record:Record::newDnsAlias-rw'; try giving it a unique name
If I export the stack, that urn is not listed. Even if I just search for newDnsAlias-rw
in the export, it is not found.
If I try to delete it, it says it doesn't exist.
$ pulumi state delete 'urn:pulumi:qa-red::eks-cluster::aws:route53/record:Record::newDnsAlias-rw'
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:qa-red::eks-cluster::aws:route53/record:Record::newDnsAlias-rw" exists in the current state
Pulumi v1.14.1
Node v12.16.1
aws cli 1.18.39
kubectl v1.18.1
package.json has latest
flag for everything except typescript. Let me know if you need anything from package-lock.json
.
Writing everything in typescript
.
Any insights?little-cartoon-6032
04/16/2020, 5:24 AMfuture-kite-91191
04/16/2020, 7:45 AMhandsome-cat-98152
04/16/2020, 11:08 AMerror: no resource plugin 'gcp-v1.4.5' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource gcp v1.4.5`
Now, when I run this command I run into a different error:
> pulumi plugin install resource gcp v1.4.5 ~/Graphmasters/pummeleinhorn/tests/basic_deployment(cloud-dns-records-108✗)@Nilss-MBP.fritz.box
[resource plugin gcp-1.4.5] installing
error: [resource plugin gcp-1.4.5] downloading from <https://api.pulumi.com/releases/plugins>: 404 HTTP error fetching plugin from <https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v1.4.5-darwin-amd64.tar.gz>
Is there a workaround?
Greetings and have a nice day!agreeable-traffic-11888
04/16/2020, 2:10 PMconst cfg = new pulumi.Config();
const dbUsername = cfg.requireSecret("db_username");
const dbPassword = cfg.requireSecret("db_password");
When I run pulumi stack export --file stack.json
these details are appearing in plain text in the exported file, under an outputs
node. Is that expected?millions-judge-24978
04/16/2020, 6:07 PMacoustic-river-98339
04/16/2020, 7:28 PMalert-pencil-7400
04/16/2020, 8:31 PMnew pulumi.asset.RemoteArchive('<gs://example/file.zip>')
<-- complains that gs://
is not supportedalert-pencil-7400
04/16/2020, 8:54 PMfaint-motherboard-95438
04/16/2020, 10:24 PMComponentResource
(in my use case, I need a bucket’s name) ?
I tried to define an arg like aws.s3.bucket
, string
, pulumi.Input<string>
, pulumi.Input<aws.s3.bucket>
, I tried to pass the whole bucket object or the bucket name directly, I tried to convert the input as an output, I tried to apply, interpolate, whatever, all I get when I want to use the name is :
Calling [toString] on an [Output<T>] is not supported.
To get the value of an Output<T> as an Output<string> consider either:
1: o.apply(v => `prefix${v}suffix`)
2: pulumi.interpolate `prefix${v}suffix
Thanksflat-engine-80045
04/16/2020, 10:54 PMenvs
is of type pulumi.Input[list] but i would expect it to be of type pulumi.Input[dict] to take key:value pairs for the env vars? I appreciate any helphigh-postman-55219
04/16/2020, 11:49 PMhigh-postman-55219
04/16/2020, 11:49 PMhigh-postman-55219
04/16/2020, 11:50 PMhigh-postman-55219
04/16/2020, 11:50 PMbland-lamp-16797
04/17/2020, 6:52 AMinfrastracture
that will have 3 stacks (dev/staging/prod), each stack configures diffrent GCP project
2. in each repo it will be a folder called infra
which will have pulumi configration for dynamic env. So if Joe wants environment he will trigger some script that will go across all repos and create env for him joe.env.company.dev where he can work on it
Am I going a right direction? I'm afraid I'll stumble on something unexpected so I ask here...bored-planet-52144
04/17/2020, 10:46 AMboundless-tailor-35598
04/17/2020, 10:47 AMboundless-tailor-35598
04/17/2020, 10:47 AMfaint-motherboard-95438
04/17/2020, 10:48 AMregion
while using the same custom credentials)faint-motherboard-95438
04/17/2020, 10:48 AMregion
while using the same custom credentials)