billions-lock-73409
02/08/2019, 3:15 PMbillions-lock-73409
02/08/2019, 4:44 PMbillions-lock-73409
02/08/2019, 4:51 PMbrainy-magician-83981
02/08/2019, 5:27 PMgorgeous-egg-16927
02/08/2019, 7:01 PMmillions-judge-24978
02/08/2019, 8:26 PMspec
property of a k8s Ingress resource? https://pulumi.io/reference/pkg/nodejs/@pulumi/kubernetes/extensions/v1beta1/#Ingress-spec
I am finding that when updating the JSON of this field, which looks like { rules: ... }
, where the ...
changes, Pulumi is showing no changes.lemon-greece-30910
02/08/2019, 8:52 PMhelpful-ice-5738
02/08/2019, 9:39 PMconst api = new aws.apigateway.x.API("name", {
stageName: "demo",
routes: [
{
path: "/",
method: "POST",
eventHandler: lambda,
},
{
path: "/",
method: "PUT",
eventHandler: lambda,
}
]
});
and am attempting to attach an api key…
const api_key = new aws.apigateway.ApiKey("demo", {
name: "demo",
stageKeys: [{
restApi: api.id,
stageName: api.stageName
}]
})
output from pulumi up is:
aws:apigateway:ApiKey (demo):
warning: urn:pulumi:pulumi_demo::webserver::aws:apigateway/apiKey:ApiKey::demo verification warning: "stage_key": [DEPRECATED] Since the API Gateway usage plans feature was launched on August 11, 2016, usage plans are now required to associate an API key with an API stage
error: aws:apigateway/apiKey:ApiKey resource 'demo' has a problem: "stage_key.0.stage_name": required field is not set
error: aws:apigateway/apiKey:ApiKey resource 'demo' has a problem: "stage_key.0.rest_api_id": required field is not set
with api.ts, I am able to set stageName per const stageName = args.stageName || "stage"; `
but apikey.ts doesn’t seem to ingest the var?brainy-magician-83981
02/08/2019, 9:44 PMpulumi destroy
... it listed a resource that was not created by my pulumi stack to be deleted. This resource was a prior existing resource that was added into the stack via an aws resource id. Will pulumi destroy this resource? If so, how do you tell pulumi to never destroy a resource not created by it?
I got this resource via a get
call. const not_my_tbl = aws.dynamodb.Table.get('not_my_table', 'not_my_table')
*In general, is there a way to mark a resource to never be destroyed?helpful-ice-5738
02/08/2019, 10:26 PMapiKeyRequired
and use of apigateway.Method at all (I have an apikey, usageplan, and usageplankey)chilly-photographer-60932
02/08/2019, 11:09 PMpanic
orange-tailor-85423
02/08/2019, 11:14 PMorange-tailor-85423
02/08/2019, 11:14 PMorange-tailor-85423
02/08/2019, 11:37 PMenough-quill-87570
02/08/2019, 11:59 PMenough-quill-87570
02/09/2019, 12:02 AMpulumi new aws-javascript -s X
I get error: no Pulumi project found in the current working directory
. Even though it says it do this in an empty directory (which it is).enough-quill-87570
02/09/2019, 12:53 AMenough-quill-87570
02/09/2019, 12:53 AMbitter-oil-46081
02/09/2019, 12:53 AMchilly-photographer-60932
02/09/2019, 1:38 AMgcp
and we are seeing error: [500] Internal Server Error
gentle-parrot-98690
02/09/2019, 1:39 AMgentle-parrot-98690
02/09/2019, 1:39 AMbitter-oil-46081
02/09/2019, 1:40 AMbitter-oil-46081
02/09/2019, 1:50 AMbitter-oil-46081
02/09/2019, 2:03 AMbitter-oil-46081
02/09/2019, 2:18 AMgentle-parrot-98690
02/09/2019, 2:34 AMenough-quill-87570
02/09/2019, 3:29 AMchilly-photographer-60932
02/09/2019, 3:45 AMerror: unexpected null property rrdatas[0]
chilly-photographer-60932
02/10/2019, 1:20 PMgcp
dns
recordset
.
import * as gcp from '@pulumi/gcp';
const prod = new gcp.dns.ManagedZone('prod', {
dnsName: 'naveen.xyz.io.'
});
new gcp.dns.RecordSet('naveen', {
managedZone: prod.name,
rrdatas: ['8.8.8.8'],
ttl: 300,
type: 'A'
});
gcp:dns:RecordSet (naveen):
error: Plan apply failed: Error creating DNS RecordSet: googleapi: Error 400: Invalid value for 'entity.change.additions[0].name': 'naveen-ff1a1c6', invalid
chilly-photographer-60932
02/10/2019, 1:20 PMgcp
dns
recordset
.
import * as gcp from '@pulumi/gcp';
const prod = new gcp.dns.ManagedZone('prod', {
dnsName: 'naveen.xyz.io.'
});
new gcp.dns.RecordSet('naveen', {
managedZone: prod.name,
rrdatas: ['8.8.8.8'],
ttl: 300,
type: 'A'
});
gcp:dns:RecordSet (naveen):
error: Plan apply failed: Error creating DNS RecordSet: googleapi: Error 400: Invalid value for 'entity.change.additions[0].name': 'naveen-ff1a1c6', invalid
gentle-diamond-70147
02/11/2019, 5:45 PMname
argument of gcp.dns.RecordSet
must be the FQDN - e.g. <http://naveen.naveen.xyz.io|naveen.naveen.xyz.io>
based on the values in your code.import * as pulumi from '@pulumi/pulumi';
import * as gcp from '@pulumi/gcp';
const prod = new gcp.dns.ManagedZone('prod', {
dnsName: 'naveen.xyz.io.'
});
new gcp.dns.RecordSet('naveen', {
name: pulumi.interpolate `naveen.${prod.dnsName}`,
managedZone: prod.name,
rrdatas: ['8.8.8.8'],
ttl: 300,
type: 'A'
});
chilly-photographer-60932
02/11/2019, 6:57 PM