thousands-london-78260
02/26/2020, 2:11 PMstocky-spoon-28903
02/26/2020, 3:00 PMstocky-spoon-28903
02/26/2020, 3:00 PMbitter-dentist-28132
02/26/2020, 9:10 PMbitter-dentist-28132
02/26/2020, 9:10 PMpulumi config set
? i'm just using the standard env vars right nowbitter-dentist-28132
02/26/2020, 9:10 PMlate-advantage-85073
02/26/2020, 9:36 PMbusy-umbrella-36067
02/26/2020, 11:22 PMprofile
or an assumed role_arn
We’re publishing abstracted AWS/K8S providers for our software devs and using env vars or depending on the pulumi config isn’t viable because a user may be using an explicitly created provider in their IaCaloof-ram-68069
02/27/2020, 11:20 AMdamp-account-75122
02/27/2020, 5:36 PMpulumi new
creates a project and stack in my personal account rather than the org. I cannot find a switch or env var to instruct pulumi to use the org as the default account. Is this possible? Thanks!swift-painter-31084
02/27/2020, 6:49 PMlimited-rainbow-51650
02/27/2020, 6:50 PMred-salesclerk-85731
02/27/2020, 7:08 PM"list_policy": {
(...)
"allow": {
(...)
"all": {
Type: schema.TypeBool,
Optional: true,
############ ---> Default: false, <-- Default Value #########
ExactlyOneOf: []string{"list_policy.0.allow.0.all", "list_policy.0.allow.0.values"},
},
"values": {
Type: schema.TypeSet,
Optional: true,
ExactlyOneOf: []string{"list_policy.0.allow.0.all", "list_policy.0.allow.0.values"},
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
},
},
},
},
https://github.com/terraform-providers/terraform-provider-google/blob/1f9e0cb9c3cef1c65cfd2054ca8dfd2795ac42a6/google/resource_google_organization_policy.go#L55
And I created it like this:
new projects.OrganizationPolicy('Only allow resource in Europe', {
constraint: 'gcp.resourceLocations',
project: gcloud.project,
listPolicy: {
allow: {
values: ['in:europe-west4-locations']
}
}
})
What would be the value of resource.listPolicy.allow.all
?calm-quill-21760
02/27/2020, 7:45 PMlet thisGroup = createdSecGroups.get(thisGroupName);
if (item.allowed_other_sec_grps && item.allowed_other_sec_grps.length > 0) {
for (let allowed of item.allowed_other_sec_grps) {
let theOtherSecGrp = createdSecGroups.get(allowed + "_" + vpc);
if (theOtherSecGrp && thisGroup) {
thisGroup.egress.get().forEach(entry => {
entry.securityGroups = theOtherSecGrp!.id;
});
}
}
}
This line is invalid:
entry.securityGroups = theOtherSecGrp!.id;
It looks like securityGroups wants a resolved string[] value. I'm guessing this is another case where I'm thinking about this all wrong... Suggestions are appreciated!swift-painter-31084
02/27/2020, 10:37 PMbitter-zebra-93800
02/27/2020, 11:04 PMable-monitor-26199
02/28/2020, 4:34 AMswift-painter-31084
02/29/2020, 1:41 AMwet-sunset-4939
03/01/2020, 4:44 AMglamorous-printer-66548
03/01/2020, 7:47 AMhandsome-xylophone-18806
03/01/2020, 11:49 AM#Pulumi.network.dev.yaml
encryptionsalt: ....
config:
aws:region: us-east-2
network:env.name: dev
#Pulumi.services.dev.yaml
encryptionsalt: ....
config:
aws:region: us-east-2
services:env.name: dev
#Pulumi.network.prod.yaml
encryptionsalt: ....
config:
aws:region: us-east-1
network:env.name: prod
#Pulumi.services.prod.yaml
encryptionsalt: ....
config:
aws:region: us-east-1
services:env.name: prod
Is this possible to extract common configurations to a file and import it when needed?
For example, I would like to have something similar to this:
#Pulumi.common.dev.yaml
encryptionsalt: ....
config:
aws:region: us-east-2
common:env.name: dev
#Pulumi.network.dev.yaml
encryptionsalt: ....
config:
aws:region: {{common.dev/aws:region}}
network:env.name: {{common.dev/common:env.name}}
Or do you have other ideas to solve this issue?gorgeous-elephant-23271
03/01/2020, 12:48 PMgorgeous-elephant-23271
03/01/2020, 12:49 PMbitter-dentist-28132
03/02/2020, 4:31 PMvictorious-helmet-11068
03/02/2020, 4:40 PMbitter-dentist-28132
03/02/2020, 6:04 PMStackReference
?bitter-dentist-28132
03/02/2020, 6:58 PMinvalid Amazon S3 ARN, unknown resource type, arn:aws:s3:::bucket-name
bitter-dentist-28132
03/02/2020, 7:54 PMprehistoric-account-60014
03/02/2020, 8:49 PMechoing-breakfast-73834
03/02/2020, 10:31 PMpulumi up --replace $urn && pulumi up
to replace a resource and update it's dependencies? I tried --target-replacement $urn --target-dependents
but the dependents didn't get updated/replaced until I ran pulumi up
again.echoing-breakfast-73834
03/02/2020, 10:31 PMpulumi up --replace $urn && pulumi up
to replace a resource and update it's dependencies? I tried --target-replacement $urn --target-dependents
but the dependents didn't get updated/replaced until I ran pulumi up
again.