rapid-ram-37207
11/01/2019, 9:44 AMnice-cat-91582
11/01/2019, 10:41 AMbetter-rainbow-14549
11/01/2019, 1:38 PMerror: decrypting secret value: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase
It's set correctly... the only slightly unusual thing is it contains lots of weird characters like $?`>[]' etc and ends in a semi-colon but this hasn't changed, only the pulumi version.big-potato-91793
11/01/2019, 2:03 PMalert-beard-9601
11/01/2019, 4:00 PM--
at the start and pulumi's cli is interpreting that as a flag. Is there a way to get around that? I need to save it as a secretbillowy-laptop-45963
11/01/2019, 4:24 PMbillowy-laptop-45963
11/01/2019, 4:25 PMpulumi stack rm --force -y STACKNAME
right? This never touches actually deployed resources?ambitious-ram-5811
11/01/2019, 9:32 PMambitious-ram-5811
11/01/2019, 9:32 PMambitious-ram-5811
11/01/2019, 9:32 PMambitious-ram-5811
11/01/2019, 9:33 PMambitious-ram-5811
11/01/2019, 10:00 PMPulumi.yaml
at the end of the day defines the script that will be runambitious-ram-5811
11/01/2019, 10:01 PMpulumi up -s ./path/to/index.js
or sthtall-terabyte-42834
11/01/2019, 11:04 PMprotect
a resource without having to run pulumi up
? i.e. to add the protect: true
to something directly. More context on why in the thread:ambitious-ram-5811
11/02/2019, 2:33 AMambitious-ram-5811
11/02/2019, 2:34 AMosProfileLinuxConfig.sshKeys
)ambitious-ram-5811
11/02/2019, 2:34 AMInvalidParameter" Message="The value of parameter linuxConfiguration.ssh.publicKeys.keyData is invalid.
ambitious-ram-5811
11/02/2019, 2:34 AMssh-keygen -e -f ./path/to/public-key.pub
ambitious-ram-5811
11/02/2019, 2:47 AMambitious-ram-5811
11/02/2019, 2:48 AM-t rsa -b 2048
when you run ssh-keygen
ambitious-ram-5811
11/02/2019, 2:48 AMtall-librarian-49374
11/02/2019, 7:34 AMambitious-ram-5811
11/02/2019, 7:35 AMambitious-ram-5811
11/02/2019, 7:35 AMwitty-yacht-82771
11/03/2019, 12:12 PMdev
and prod
stacks might deploy an RDS instance, while my test
stack just provisions a small EC2 server running Postgres. The resources deployed in the cloud are totally different, but everything else in the db infrastructure is the same.early-intern-90238
11/03/2019, 10:19 PMmagnificent-petabyte-57952
11/04/2019, 12:56 AMimport
but I am getting error: Plan apply failed: A resource with the ID "/subscriptions/02bc198f-4492-4ee8-adaf-ca7c5dbf4c16/resourceGroups/TDW-NPE-DEV-ARG-PaymentService/providers/Microsoft.Web/sites/TDW-NPE-DEV-APP-PayInSub" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_function_app" for more information.
breezy-butcher-78604
11/04/2019, 3:18 AMawsx.ec2.Vpc.fromExistingIds()
method but canāt quite figure out how to supply the right IDs. hereās what Iāve got so far:
function toArray<T>(v: T | T[]) {
return Array.isArray(v) ? v : [v];
}
const cfg = new pulumi.Config();
// Grab the VPC ID from the existing VPC stack
const vpcStack = new pulumi.StackReference(cfg.require("vpcStack"));
// Now create a VPC object from the id
const vpc = awsx.ec2.Vpc.fromExistingIds("vpc", {
vpcId: vpcStack.getOutput("vpcId"),
publicSubnetIds: toArray(vpcStack.getOutput("publicSubnetIds"))
});
however when running pulumi up, i get the below error message.
Iām pretty new to typescript so my guess is Iām not handling the Output<T>
type returned from getOutput()
properly. the output should be an array of subnet IDs, eg:
[
"subnet-abcdefg123456",
"subnet-foobah12345",
"subnet-blahblahblah"
]
however it appears its not making it through properly.wide-dress-96388
11/04/2019, 6:36 AMbulky-businessperson-73745
11/04/2019, 5:18 PMHttpCallbackFunction
is meant to serve as an abstraction over the regular gcp.cloudfunctions.Function
resource. Am I correct in assuming that only the latter allows for customization of the node runtime, available memory, etc.?