late-printer-99022
01/15/2020, 1:50 PMA
record automatically or we need to create it?late-printer-99022
01/15/2020, 3:29 PMexport let ingressUrl = router.status.loadBalancer.ingress[0].hostname;
I have tried pulumi.interpolate and .apply syntax but I cannot get it working. I want to get ZoneId of url
, I got the relevant code too but it is showing error like
Argument of type 'Output<string>' is not assignable to parameter of type 'string'
đ
I have take sample code from - https://github.com/pulumi/examples/blob/master/aws-ts-static-website/index.tscolossal-plastic-46140
01/15/2020, 3:39 PMlate-printer-99022
01/15/2020, 3:41 PMOutput<string>
I am always stuck.
Can someone help by looking at code. @flat-insurance-25294 - gist and not code dump this time đflat-insurance-25294
01/15/2020, 3:42 PMflat-insurance-25294
01/15/2020, 3:43 PMbetter-actor-92669
01/15/2020, 3:54 PMnode_config={
'imageType': 'WINDOWS_SAC',
windows pool is currently an early access feature and you have to send your application to GCP . Please find the link to apply below:
https://cloud.google.com/blog/products/containers-kubernetes/how-to-deploy-a-windows-container-on-google-kubernetes-engine
https://docs.google.com/forms/d/e/1FAIpQLSfk6PAxUqQ0k08ByqU49yy8s1sLNivHLkbQ6ltxUZf49j3C0g/viewformfast-dinner-32080
01/15/2020, 4:28 PMpowerful-football-81694
01/15/2020, 5:35 PMbitter-dentist-28132
01/15/2020, 6:43 PMpulumi.interpolate
on a string, and in the preview it showed the full string with [secret]
where a variable would be, which was declared with config.requireSecret
. then i decided to manually mark another interpolated variable (of type pulumi.Output<string>
) as secret with pulumi.secret(variable)
. that caused the entire string to become [secret]
, so i don't get to see my config string with only the secret bits blacked out. is there a way to have that happen?limited-rainbow-51650
01/15/2020, 6:49 PMid
of a Gitlab Group
resource is a string. In Gitlab, you can nest groups by setting the parentId
, but this one is typed number
.
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gitlab/#Group-id
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gitlab/#Group-parentId
Is this something which could be aligned by regenerating the TF wrapper?limited-rainbow-51650
01/15/2020, 6:57 PMid: Output<string>
of my parent group to an number | Promise<number> | OutputInstance<number>
which I can use as input for the parentId
of my child group?brave-salesmen-42327
01/15/2020, 7:51 PMosProfile: {
customData: `#!/bin/bash\n
echo "${someConfigValue}"`
}
It does not change the resource according to pulumi cli. Reports All Resources Unchanged, no update or destroy re-create happens.
Changing something like
vmSize: "SomeOtherSize"
works fine, registers as a change and updates the vm resource.gifted-beach-2614
01/15/2020, 9:01 PMbusy-dusk-74339
01/16/2020, 12:50 AMbusy-dusk-74339
01/16/2020, 12:51 AMcareful-market-30508
01/16/2020, 3:22 AMlate-printer-99022
01/16/2020, 4:16 AMlate-printer-99022
01/16/2020, 12:01 PMlate-printer-99022
01/16/2020, 7:03 PMpulumi up
showed me following update.
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:prod::syngenta-platform::pulumi:pulumi:Stack::syngenta-platform-prod]
~ kubernetes:<http://networking.k8s.io/v1beta1:Ingress|networking.k8s.io/v1beta1:Ingress>: (update)
[id=syngenta-platform/syngenta-platform]
[urn=urn:pulumi:prod::syngenta-platform::kubernetes:<http://networking.k8s.io/v1beta1:Ingress::syngenta-platform|networking.k8s.io/v1beta1:Ingress::syngenta-platform>]
[provider=urn:pulumi:prod::syngenta-platform::eks:index:Cluster$pulumi:providers:kubernetes::syngenta-platform-provider::bb6ecf4e-2c78-4f12-8c8f-0f1b8d4ce3a7]
~ spec: {
~ rules: [
~ [0]: {
~ http: {
~ paths: [
~ [1]: {
~ path: "/ngnix/*" => "/nginx/*"
}
]
}
}
]
}
Resources:
~ 1 updated
63 unchanged
Duration: 1m3s
But when I went to aws console, the path is not updated in Target Group.
did I missed something?powerful-football-81694
01/16/2020, 8:40 PMpowerful-football-81694
01/16/2020, 8:59 PMinit
command in the dropdown, but executing the pipeline yields:
Error: unknown command "init" for "pulumi"
Did you mean this?
new
Run 'pulumi --help' for usage.
worried-engineer-33884
01/16/2020, 9:40 PMmake
, but it seems that you need to npm install
first, but that doesn't work because version in package.json is set to ${VERSION}
. I don't want to hack around too much with this â is there an updated version of development spinup instructions?
https://github.com/pulumi/pulumi/tree/master/sdk/nodejs#building-and-testingflat-insurance-25294
01/16/2020, 11:33 PMif (config.isProduction == false) {
export const rdsPassword = rds.masterPassword
}
Like that wouldnât work.helpful-kitchen-78641
01/16/2020, 11:40 PMus-west-2
). I am creating a certificate in us-east-1
because I need to use it as part of a cloudfront distribution, which requires the cert to live there.
// [...]
const regionProvider = new aws.Provider('us-east-provider', {region: 'us-east-1'});
const certCertificate = new aws.acm.Certificate('cert', {
domainName: '<http://dashboard.mydomain.com|dashboard.mydomain.com>',
subjectAlternativeNames: [
'*.<http://dashboard.mydomain.com|dashboard.mydomain.com>',
],
validationMethod: 'DNS',
tags,
}, {provider: regionProvider});
const certValidation = new aws.route53.Record('certValidation', {
name: certCertificate.domainValidationOptions[0].resourceRecordName,
records: [certCertificate.domainValidationOptions[0].resourceRecordValue],
ttl: 300,
type: certCertificate.domainValidationOptions[0].resourceRecordType,
zoneId: dashboardR53Zone.id,
});
const certCertificateValidation = new aws.acm.CertificateValidation('cert', {
certificateArn: certCertificate.arn,
validationRecordFqdns: [
certValidation.fqdn,
certValidation.fqdn, // both entries use the same value/name per the AWS console
],
});
After running pulumi up
I receive the following error:
Diagnostics:
aws:acm:CertificateValidation (cert):
error: Error describing certificate: ResourceNotFoundException: Could not find certificate arn:aws:acm:us-east-1:[REDACTED]:certificate/60c[REDACTED]df9d9.
status code: 400, request id: 4c00[REDACTED]aef6
I can see the certificate with that ARN in the AWS console, so I'm not sure how to proceedhelpful-kitchen-78641
01/16/2020, 11:42 PMhelpful-kitchen-78641
01/17/2020, 12:04 AM{provider: regionProvider}
in the validation đ¤Śââď¸adventurous-vase-24423
01/17/2020, 11:19 AMpowerful-football-81694
01/17/2020, 1:22 PMcommand: stack
and options: init $(StackName)
in the YAML.
However, the Pulumi@1
task has a mandatory stack
parameter, and the task always tries to select that stack the first thing it does, before it proceeds to execute the actual command, which of course results in an error because the stack does not yet exist.busy-dusk-74339
01/17/2020, 2:30 PMbusy-dusk-74339
01/17/2020, 2:30 PM