stale-minister-93676
04/13/2020, 12:29 PMconst f = new vsphere.Folder(....)
and now I'm trying to use it with `vsphere.getVirtualMachine({ name: ${f.path}/vm-name
})` but I'm getting error fetching virtual machine: vm 'Calling [toString] on an [Output<T>] is not supported.
Anyone know how to get the path as a string?wonderful-dog-9045
04/13/2020, 12:35 PMfast-summer-37905
04/13/2020, 2:02 PMfast-dinner-32080
04/13/2020, 5:04 PMstale-minister-93676
04/13/2020, 7:09 PMcool-egg-852
04/13/2020, 8:32 PMbrave-angle-33257
04/13/2020, 9:13 PMOutputs
situation?orange-address-79071
04/13/2020, 9:58 PMcurved-zoo-38252
04/14/2020, 1:14 AMbetter-rainbow-14549
04/14/2020, 2:31 PMnpm ERR! Unexpected end of JSON input while parsing near '...86668803","dependenci'
ever since 1.14.1 - in the debug log it prints
345 http fetch GET 200 <https://registry.npmjs.org/@pulumi%2fpulumi> 38ms (from cache)
346 silly fetchPackageMetaData error for @pulumi/pulumi@^1.14.1 Unexpected end of JSON input while parsing near '...86668803","dependenci'
white-balloon-205
stale-minister-93676
04/14/2020, 4:20 PMpulumi login s3://...
?elegant-hydrogen-81987
04/14/2020, 5:05 PMstale-minister-93676
04/14/2020, 5:34 PMstale-minister-93676
04/14/2020, 5:36 PMpulumi refresh
but that doesn't seem to be able to pull in the existing components for us (from kubernetes)some-football-23966
04/14/2020, 6:55 PMacoustic-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!