white-balloon-205
11/15/2019, 8:19 PMbillowy-laptop-45963
11/15/2019, 9:30 PMconst
opts = {provider: provider},
callerId = aws.getCallerIdentity(opts),
region = aws.getRegion({}, opts)
where provider is new aws.Provider('myprovider', {profile: profile, region: region})
but they return unable to discover AWS AccessKeyID and/or SecretAccessKey
breezy-butcher-78604
11/16/2019, 5:57 AMrepositoryCredentials
property mentioned in the AWS docs (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/private-auth.html).
I’m currently using the FargateService
resource from AWS Crosswalk, but can’t find any reference to the repositoryCredentials
property in the Pulumi docs for Crosswalk, nor in the source code.bright-orange-69401
11/16/2019, 10:26 AMearly-match-56268
11/16/2019, 1:37 PMadamant-motorcycle-38425
11/16/2019, 11:23 PMsalmon-beard-79336
11/17/2019, 10:12 AMwet-sunset-4939
11/18/2019, 2:27 AMenough-quill-87570
11/18/2019, 7:41 AMnutritious-battery-42762
11/18/2019, 2:22 PMadamant-motorcycle-38425
11/18/2019, 2:22 PMindex.ts
. It returns a promise. How can I do:
const someAwsValue = await new AWS().someService().someMethod().promise();
or similar in index.ts? Or even:
new AWS().someService().someMethod(params, (someAwsValue)=> {
// do Pulumi things in here, referencing someAwsValue in scope
})
Pulumi won't let me wrap everything in a top-level async function without dying. I tried looking in the docs how to use aws-sdks or perform async things inside of a Pulumi project, not sure how to proceed. 😐billowy-laptop-45963
11/18/2019, 3:47 PMconst p = new aws.Provider(`main-provider`, {profile: profile, region: region})
am I correct in that there is no way of getting the profile/region on p?numerous-dream-98392
11/18/2019, 5:56 PMnumerous-dream-98392
11/18/2019, 5:58 PMpulumi plugin rm resource gcp 1.5.0
pulumi plugin install resource gcp 1.6.0
and setting "@pulumi/gcp": "^1.6.0"
in packages.json
doesn't seem to make a difference - pulumi up
still automatically downloads 1.5.0careful-market-30508
11/18/2019, 9:33 PMmillions-judge-24978
11/18/2019, 10:23 PMwarning: Synchronous call made to "aws:index/getAvailabilityZones:getAvailabilityZones" with an unregistered provider.
I do not have any calls to this in my code. Would it be possible to get this warning from new awsx.ec2.Vpc(...)
potentially?billowy-laptop-45963
11/18/2019, 10:29 PMaws.getCallerIdentity({provider: provider})
in ten different places with the same provider will it cause 10 api calls?square-rocket-59657
11/19/2019, 7:16 AMvar AWSXRay = require('aws-xray-sdk-core');
var AWS = AWSXRay.captureAWS(require('aws-sdk'));
I came across this open issue: https://github.com/pulumi/pulumi-cloud/issues/46 but wanted to ask before diving deeperfresh-potato-86877
11/19/2019, 7:55 AMbrave-angle-33257
11/19/2019, 6:09 PMpulumi.stackReference
in any way without using the pulumi cloud backend (like with s3)? passing in a state file or something similar?handsome-truck-95168
11/19/2019, 8:28 PMmicroscopic-actor-66009
11/19/2019, 9:09 PMtall-carpet-41250
11/19/2019, 9:11 PMbright-apple-15972
11/19/2019, 9:32 PMtall-carpet-41250
11/19/2019, 9:38 PMtall-carpet-41250
11/19/2019, 10:06 PMrm
but now I can’t create a project with the same name. Any way to delete that project from pulumi’s state when the project doesn’t exist?quaint-queen-45003
11/19/2019, 10:43 PMmillions-judge-24978
11/20/2019, 12:09 AMpulumi
github org? There seem to be several references that do not get replaced by make prepare
and I’m having a hard time getting the provider to build.limited-rain-96205
11/20/2019, 1:06 AMpulumi new --help
, we should use `--stack`:
-s, --stack string The stack name; either an existing stack or stack to create; if not specified, a prompt will request it
However, if I do that with an existing stack, it gives an error:
$ pulumi new -n p3 --stack dev
Please choose a template: gcp-typescript A minimal Google Cloud TypeScript Pulumi program
This command will walk you through creating a new Pulumi project.
Enter a value or leave blank to accept the (default), and press <ENTER>.
Press ^C at any time to quit.
project description: (A minimal Google Cloud TypeScript Pulumi program)
Created project 'p3'
Enter your passphrase to protect config/secrets:
Re-enter your passphrase to confirm:
error: stack 'dev' already exists
salmon-beard-79336
11/20/2019, 9:41 AMsalmon-beard-79336
11/20/2019, 9:41 AMnumerous-dream-98392
11/20/2019, 4:47 PM