busy-umbrella-36067
09/27/2018, 9:58 PMbroad-coat-71198
09/27/2018, 10:04 PMfull-dress-10026
09/27/2018, 11:04 PMupdate
?full-dress-10026
09/27/2018, 11:11 PMfull-dress-10026
09/27/2018, 11:23 PMcloud.Service
via the API?full-dress-10026
09/28/2018, 2:53 AMcloud-aws:externalVpcId
in my code using `Config`:
let config = new pulumi.Config();
config.require("cloud-aws:externalVpcId");
and run pulumi preview
, I get a message saying Missing required configuration variable 'services-infra:cloud-aws:externalVpcId'
. Why is the configuration prefixed with my project's name when I already specified a namespace?full-dress-10026
09/28/2018, 3:53 AMcloud-aws.config
package. That result from config.require is still a bit surprising though.sparse-insurance-40223
09/28/2018, 9:07 AMsparse-insurance-40223
09/28/2018, 5:14 PMtall-monitor-77779
09/28/2018, 6:51 PMerror: the current deployment has 1 resource(s) with pending operations:
* urn:pulumi:poc-dev::poc::aws:lambda/function:Function::geoLookup, interrupted while updating
tall-monitor-77779
09/28/2018, 6:53 PMpulumi stack export
and pulumi stack import
but the latter fails to returncreamy-potato-29402
09/28/2018, 6:53 PMpulumi cancel
?creamy-potato-29402
09/28/2018, 6:53 PMtall-monitor-77779
09/28/2018, 6:54 PMtall-monitor-77779
09/28/2018, 6:54 PMpulumi up
incalculable-sundown-82514
09/28/2018, 6:55 PMpulumi stack import
? You need to pipe the output of pulumi stack export
to pulumi stack import
, otherwise pulumi stack import
waits forever on standard in.incalculable-sundown-82514
09/28/2018, 6:55 PM--file
argument to both of those commands to export/import to a filetall-monitor-77779
09/28/2018, 6:55 PMtall-monitor-77779
09/28/2018, 6:55 PMtall-monitor-77779
09/28/2018, 7:04 PMpulumi stack export > export.file
# remove items from pending_operations array
cat export.file | pulumi stack import
tall-monitor-77779
09/28/2018, 7:07 PMfull-dress-10026
09/28/2018, 8:59 PMcloud-aws:computeIAMRolePolicyARNs
does my list override the defaults or merge with the defaults?proud-tiger-5743
09/28/2018, 9:02 PMupdate
keeps rejecting it. At the top of my code, I declare a bucket called bucket
and an EC2 called ec2
. But I'm trying to scope down User access to the bucket and the instance.
policy: JSON.stringify({
Version: "2012-10-17",
Statement: [
{
Effect: "Allow",
Action: [
"iam:GenerateCredentialReport",
"iam:GenerateServiceLastAccessedDetails",
"iam:Get*",
"iam:List*",
"iam:CreateAccessKey",
"iam:ChangePassword",
"iam:SimulateCustomPolicy",
"iam:SimulatePrincipalPolicy"
],
Resource: "*"
},
{
Action: ["s3:*"],
Effect: "Allow",
Resource: [bucket.arn]
},
{
Effect: "Allow",
Action: ["ec2:Describe*"],
Resource: "*"
},
{
Action: [
"ec2:StartInstances",
"ec2:StopInstances",
"ec2:RebootInstances"
],
Resource: [ec2.arn],
Effect: "Allow"
}
]
})
proud-tiger-5743
09/28/2018, 9:03 PM[]
or without. It also fails with an apply statementstocky-spoon-28903
09/28/2018, 9:03 PMstocky-spoon-28903
09/28/2018, 9:03 PMproud-tiger-5743
09/28/2018, 9:03 PM"*"
stocky-spoon-28903
09/28/2018, 9:04 PMpolicy: bucket.arn.apply(arn => JSON.stringify({...... Resource:[arn] ........}))
stocky-spoon-28903
09/28/2018, 9:04 PM*
that makes sense, since there isn’t an output to need to wait onproud-tiger-5743
09/28/2018, 9:05 PM