orange-tailor-85423
01/17/2019, 10:04 PMorange-tailor-85423
01/17/2019, 10:04 PMorange-tailor-85423
01/17/2019, 10:29 PMacceptable-air-67821
01/17/2019, 11:18 PMPreviewing update (benton-uat0):
Type Name Plan Info
+ pulumi:pulumi:Stack benton-benton-uat0 create
+ ├─ pulumi:providers:aws eu-west-1-provider create
+ └─ aws:ec2:Vpc uat-backend-vpc9098098090909809 create 1 error
Diagnostics:
aws:ec2:Vpc (uat-backend-vpc9098098090909809):
error: Duplicate resource URN 'urn:pulumi:benton-uat0::benton::aws:ec2/vpc:Vpc::uat-backend-vpc9098098090909809'; try giving it a unique name
error: an error occurred while advancing the preview
I’ve tried renaming the resource, deleting the stack then creating it again, using another stack, and nothing helps. I keep getting the same error.acceptable-air-67821
01/17/2019, 11:21 PMminiature-potato-84713
01/18/2019, 1:51 AMcolossal-thailand-53880
01/18/2019, 4:19 AMacceptable-air-67821
01/18/2019, 7:16 PMacceptable-air-67821
01/18/2019, 7:16 PMchilly-photographer-60932
01/18/2019, 9:44 PMpulumi
have a docker image?wide-easter-61599
01/18/2019, 9:53 PMwide-easter-61599
01/18/2019, 9:54 PMsome-waitress-78905
01/19/2019, 3:58 AMsome-waitress-78905
01/19/2019, 4:26 AMhelpful-advantage-49286
01/19/2019, 9:28 PMrapid-hairdresser-62654
01/20/2019, 6:17 PMfaint-motherboard-95438
01/20/2019, 7:35 PMpulumi config set
which has by mistake ran on the wrong stack and erased a secret value ?….😓powerful-football-81694
01/20/2019, 9:08 PMAppServiceArgs
type defined in appService.d.ts
. However, I'm wondering how the dependency tracking would work with app settings considering how they are defined.
Connection strings are passed like this:
readonly connectionStrings?: pulumi.Input<pulumi.Input<{
name: pulumi.Input<string>;
type: pulumi.Input<string>;
value: pulumi.Input<string>;
}>[]>;
This seems fine to me, as it's using Input
on all three levels.
However, app settings are passed like this:
readonly appSettings?: pulumi.Input<{
[key: string]: any;
}>;
Will this work as expected if I pass an Output
as one of the values in that object? I.e. will it correctly create a dependency?powerful-football-81694
01/20/2019, 10:09 PM2019-01-20T21:10:36.7285438Z ++ pulumi stack select retrospect-svcReplika-dev
2019-01-20T21:10:36.8068556Z Logging in using access token from PULUMI_ACCESS_TOKEN
2019-01-20T21:10:37.6949041Z ++ pulumi up --yes
2019-01-20T21:10:38.3934068Z Previewing update (retrospect-svcReplika-dev):
2019-01-20T21:10:39.1496598Z
2019-01-20T21:10:39.9270466Z pulumi:pulumi:Stack RetrospectSvcReplika-retrospect-svcReplika-dev running
2019-01-20T21:10:41.8484053Z azure:core:ResourceGroup retrospect-dev-svcReplika error: Error building AzureRM Client: 1 error(s) occurred:
2019-01-20T21:10:41.8590405Z azure:core:ResourceGroup retrospect-dev-svcReplika 1 error
2019-01-20T21:10:41.8592885Z
2019-01-20T21:10:41.8598421Z Diagnostics:
2019-01-20T21:10:41.8629164Z azure:core:ResourceGroup (retrospect-dev-svcReplika):
2019-01-20T21:10:41.8629332Z error: Error building AzureRM Client: 1 error(s) occurred:
2019-01-20T21:10:41.8629385Z
2019-01-20T21:10:41.8629475Z * A Subscription ID must be configured when authenticating as a Service Principal using a Client Secret.
2019-01-20T21:10:41.8629532Z
2019-01-20T21:10:42.1712727Z error: an error occurred while advancing the preview
It makes sense that I would need to specify a subscription ID somewhere, but I just can't figure out where. Is there a separate environment variable that should be set for that?
Setting it using Azure CLI doesn't seem like a viable option in this case, because Pulumi is doing the authentication itself as part of the up/preview
commands, and the subscription would need to be selected after that...acceptable-air-67821
01/21/2019, 10:49 AMgifted-island-55702
01/21/2019, 1:07 PMwarning: A new version of Pulumi is available. To upgrade from version '0.0.0' to '0.16.11', visit <https://pulumi.io/install> for manual instructions and release notes.
rapid-hairdresser-62654
01/21/2019, 1:55 PMbetter-rainbow-14549
01/21/2019, 4:18 PM2019-01-21T16:17:44.1917676Z warning: urn:pulumi:development::development::azure:ad/application:Application::db-admin verification warning: The Azure Active Directory resources have been split out into their own Provider.
stocky-spoon-28903
01/21/2019, 4:29 PMquiet-wolf-18467
quiet-wolf-18467
kind: PulumiEnvironment
which contained the config and the controller executed the pulumi up
in-cluster, storing the state to a secret.incalculable-angle-91273
01/21/2019, 7:32 PMgetOutput
method to get the values of slice from another stack. I get this error error: TypeError: subnetIds is not iterable
. But my outputs from the other stack looks like this:
▶ pulumi stack output
warning: A new version of Pulumi is available. To upgrade from version '0.0.0' to '0.16.11', visit <https://pulumi.io/install> for manual instructions and release notes.
Current stack outputs (3):
OUTPUT VALUE
subnetIds ["subnet-0b7bf0c5d120c55d6","subnet-09f0c4ca405279bfc","subnet-0db5a0bc978a313a6"]
I can get single values without problems (i.e. not lists). Does someone have an example of using getOutput
on a list?busy-umbrella-36067
01/22/2019, 12:15 AMaws.acm.Certificate.domainValidationOptions
with the aws provider?
The below does not work.
// create wildcard certificate
let awsCertificate = await new aws.acm.Certificate("XXXXXXX", {
domainName: `*.rpc.${environment.dns}`,
validationMethod: 'DNS'
})
let certVerificationRecord = new aws.route53.Record("XXXXXXX", {
name: awsCertificate.domainValidationOptions.resourceRecordName,
records: [awsCertificate.domainValidationOptions.resourceRecordValue],
type: "TXT",
zoneId: hostedZone.id,
ttl: 300
});
tall-librarian-49374
01/22/2019, 1:21 PMtall-librarian-49374
01/22/2019, 1:26 PM