rough-parrot-6341
10/05/2020, 1:46 PMelegant-island-39916
10/05/2020, 3:23 PMinfra-dev
, services-dev
, infra-prod
, services-prod
Though that is a bit of a pain to manage and would make sense to simply namespace on a project level rather than purely via stacks. Is there a way around this that allows setting up multiple projects with the same stack name, similar to how the documentation outlines? https://www.pulumi.com/docs/intro/concepts/organizing-stacks-projects/#inter-stack-dependenciesnutritious-shampoo-16116
10/05/2020, 4:07 PMOutput
which will grab that from another place, is there a way to "cast" a string to pulumi output so that the output will be consistent?millions-furniture-75402
10/05/2020, 4:07 PM> pulumi update --skip-preview --yes -v=6
Updating (catmeme/pulumi-v1-102)
View Live: <https://app.pulumi.com/>...
pulumi:pulumi:Stack gameserver-pulumi-v1-102 creating
@ Updating........
+ pulumi:pulumi:Stack gameserver-pulumi-v1-102 creating error: an unhandled error occurred: Program exited with non-zero exit code: -1
+ pulumi:pulumi:Stack gameserver-pulumi-v1-102 **creating failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (gameserver-pulumi-v1-102):
error: an unhandled error occurred: Program exited with non-zero exit code: -1
Resources:
+ 1 created
Duration: 1m55s
How can I debug this failure further? I’m using -v=6 and not getting any helpful outputnutritious-shampoo-16116
10/05/2020, 4:08 PMmillions-furniture-75402
10/05/2020, 4:14 PMfew-pillow-1133
10/05/2020, 4:53 PMkind-mechanic-53546
10/06/2020, 12:47 AMaws.iam.getPolicyDocument
?
The below works, but is nasty, casting to any just to avoid compile time errors about transforming from output to string
const assumeDevelopersRolePolicyData = await aws.iam.getPolicyDocument({
version: "2012-10-17",
statements: [
{
effect: "Allow",
actions: ["sts:AssumeRole"],
resources: [
<any>(
pulumi.interpolate`arn:aws:iam::${dev_account_id}:role/${devRole.name}`
),
],
},
],
});
Or is the only reason this is working currently is that I'm lucky and it'll fail at some point in the future 🙂worried-queen-62794
10/06/2020, 1:17 AMaws_vpc
that is shown in some of the Python examples? For example: https://www.pulumi.com/docs/reference/pkg/aws/ec2/securitygroup/#example-usagequick-city-76163
10/06/2020, 4:19 AMfunction createVpc(provider: ProviderResource) {
new aws.ec2.Vpc(`${provider.id}-main`, {
cidrBlock: "10.0.0.0/16",
}, {provider: provider});
}
Using the code exactly as it is in my example yields the error:
error: Duplicate resource URN 'urn:pulumi:main::acddevops-eks::aws:ec2/vpc:Vpc::Calling [toString] on an [Output<T>] is not supported.
worried-queen-62794
10/06/2020, 9:01 AMOutputs:
- bucket_name: "tlayen-pulumi-demo"
In the output when I have long deleted that output?bland-lamp-16797
10/06/2020, 2:59 PMadamant-translator-31969
10/06/2020, 3:24 PMloud-egg-62954
10/06/2020, 3:59 PMallow all
firewall rule? I'd like to enable all traffic on all ports within a subnetworkworried-queen-62794
10/07/2020, 1:39 AMconfig.require('role')
that it doesn't expect it to be prefixed with the name as in foo:role
?worried-queen-62794
10/07/2020, 1:39 AMworried-queen-62794
10/07/2020, 1:42 AMambitious-father-68746
10/07/2020, 9:37 AMgorgeous-animal-95046
10/07/2020, 2:27 PMpending operations
state and requires manual intervention in the state data. Fixing that requires special aws privileges in our env and most people who run into the error can’t actually fix the problem without contacting internal support.thankful-area-1764
10/07/2020, 3:01 PMsteep-spoon-2023
10/07/2020, 3:52 PMsteep-spoon-2023
10/07/2020, 3:54 PMsteep-spoon-2023
10/07/2020, 3:54 PMnutritious-rainbow-58472
10/07/2020, 4:04 PMsteep-spoon-2023
10/07/2020, 4:05 PMnutritious-rainbow-58472
10/07/2020, 4:06 PMincalculable-jewelry-88469
10/07/2020, 4:25 PMpulumi up
as a json? I see the --json
option for pulumi preview
but not for pulumi up
motivation: log it in a structured manner so that it can be easily parsed by datadogcool-jordan-85318
10/07/2020, 5:26 PMagreeable-plastic-45345
10/07/2020, 5:53 PMelegant-island-39916
10/07/2020, 6:10 PM[diff: ~spec]; warning: [Pod redis-deployment-pv20lh90-8479b5d5f-9w74q]: containers with unready status: [redis] -- [CreateContainerConfigError] configmap "redis-env-configmap" not found
Is there a way I can force pulumi to create a resource before another?elegant-island-39916
10/07/2020, 6:10 PM[diff: ~spec]; warning: [Pod redis-deployment-pv20lh90-8479b5d5f-9w74q]: containers with unready status: [redis] -- [CreateContainerConfigError] configmap "redis-env-configmap" not found
Is there a way I can force pulumi to create a resource before another?straight-flower-13757
10/07/2020, 6:14 PMdepends_on
propertyelegant-island-39916
10/07/2020, 6:17 PMstraight-flower-13757
10/08/2020, 2:31 AM