most-lighter-95902
10/02/2021, 11:55 PMconst dbPassword = pulumi.interpolate`${config.requireSecret('db_password')}`
crooked-sunset-90921
10/03/2021, 4:22 AMcrooked-sunset-90921
10/03/2021, 4:23 AMlittle-market-63455
10/03/2021, 4:54 PMawsx.ec2.Vpc.getDefault().publicSubnetIds
I noticed that it always returns only exactly 2
subnets
Checking the code, I found this comment:
back compat. We always would just use the first two public subnets of the region we're in. So preserve that, even though we could get all of them here. Pulling in more than the two we pulled in before could have deep implications for clients as those subnets are used to make many downstream resource-creating decisions.But the documentation doesn't mention this which is a surprising behavior.
rapid-raincoat-36492
10/03/2021, 9:09 PMcrooked-pillow-11944
10/04/2021, 12:06 AMgithub = pulumi.StackReference(f"github-{environment}")
github_token = secrets.github("token")
os.environ['GITHUB_TOKEN'] = github_token
Is there any way to force the output to resolve before a github resource is requested?nutritious-australia-90040
10/04/2021, 7:25 AMrough-rain-68282
10/04/2021, 7:42 AMaws.ec2.SecurityGroupRule
this leads me to a problem where the newly created groups cannot be referenced in other groups using the name. The field
security_group_id
expects a sg id. Not sure how I can get that dynamically . Thankslemon-monkey-228
10/04/2021, 9:48 AMlemon-monkey-228
10/04/2021, 9:48 AMproduction
already existedlemon-monkey-228
10/04/2021, 9:55 AMsome-project-a_production
, some-project-b_production
etc.lemon-monkey-228
10/04/2021, 9:57 AMlemon-monkey-228
10/04/2021, 10:00 AMprojects
prometheus
Pulumi.yaml, Pulumi.prometheus-production.yaml, Pulumi.prometheus-staging.yaml
grafana
Pulumi.yaml, Pulumi.grafana-production.yaml, Pulumi.grafana-staging.yaml
rules
Pulumi.yaml, Pulumi.rules-production.yaml, Pulumi.rules-staging.yaml
able-doctor-68496
10/04/2021, 3:12 PMprops
 argument to the ComponentResource
 constructor: https://www.pulumi.com/docs/reference/pkg/python/pulumi/#the-pulumi-python-resource-model-1
My main questions about it are:
• When would I want to pass something to this props
 argument?
• What would I pass to that argument?
For example, currently I’m passing a Kubernetes namespace to a “parent” ComponentResource
 that I’ve created. I’m passing it like so:
def __init__(..., namespace: Namespace, ...):
super().__init__(
...,
props={'namespace': namespace},
...
)
Is that the correct way to use props
? My thinking was that this would let the Pulumi “engine” know that there is an ordering requirement between the namespace and my ComponentResource
. Is that how it works? If not, then what are props
 for?damp-accountant-65956
10/04/2021, 3:42 PMpulumi.StringInput
types in go? I know I could just make them a string
and validate them but there may be cases where they could be supplied by the end user or as an output from like a data source. So I wasn't sure how to validate them when they are pulumi.StringInput
values... do I need to do a .ToStringOutput().ApplyT()
and validate within the applier?damp-accountant-65956
10/04/2021, 4:39 PMApplyT
and return an error, things still seem to continue on... If i try and use the pulumi.Output
object returned by calling ApplyT
I don't see how to convert that back to an Input object?rapid-raincoat-36492
10/04/2021, 5:21 PMterraform.state.RemoteStateReference
is lovely, but it only lets me migrate over modules that no other terraform modules depend on (without using SSM as a intermediary step). If I could access Pulumi Stack outputs from Terraform, I would be able to migrate over any terraform module, making it a lot easier to switch oversparse-gold-10561
10/04/2021, 5:59 PMpurple-train-14007
10/04/2021, 8:20 PMlittle-market-63455
10/05/2021, 8:39 AMedit-pr-comment
has cases where it cannot detect earlier comments?
I have a RP with a lot of pushes/force-pushes and it keeps adding new comments. I am sure I have seen it work beforefast-oyster-42706
10/05/2021, 1:51 PMcuddly-lion-92829
10/05/2021, 3:18 PMfresh-wire-95028
10/05/2021, 5:43 PMconst fgService = new awsx.ecs.FargateService('blah', {
...
});
const autoScaleTarget = new aws.appautoscaling.Target(`appautoscaling-target-api-${stack}`, {
resourceId: `service/${apiClusterName}/${apiServiceName}`, <----- ???
});
alert-glass-49407
10/05/2021, 6:05 PMpulumi preview
output, do I need to create a component resource, or similar? Or is there something I can put into opts
that would give me control over the display?
edit: it turns out this is `parent`: <https://www.pulumi.com/docs/intro/concepts/resources/#parent>orange-byte-86458
10/05/2021, 9:56 PMpurple-train-14007
10/05/2021, 11:30 PMpurple-train-14007
10/05/2021, 11:31 PMfresh-actor-58531
10/06/2021, 7:26 AM[2021-10-06T06:47:38.665Z] error: the current deployment has 1 resource(s) with pending operations:
[2021-10-06T06:47:38.665Z] * urn:pulumi:stack-test::project-test::aws:elasticsearch/domain:Domain::stack-test, interrupted while deleting
While updating the inbound rule for existing pulumi stack
[12:50 PM] Kindly help, we are mentaining the stack from remote cloudgifted-student-18589
10/06/2021, 8:35 AMrough-rain-68282
10/06/2021, 11:33 AMrough-rain-68282
10/06/2021, 11:33 AMprehistoric-activity-61023
10/06/2021, 11:45 AMpulumi refresh
to refresh the pulumi state based on the current state in the cloud. You can backup the state just in case using pulumi stack export
.rough-rain-68282
10/06/2021, 11:50 AM.pulumi/stacks/Staging.json: snapshot integrity failure; refusing to use it
millions-furniture-75402
10/06/2021, 1:02 PMpulumi stack export
then modify the stack.json to reflect reality, and then cat stack.json | pulumi stack import
rough-rain-68282
10/06/2021, 1:31 PMmillions-furniture-75402
10/06/2021, 1:50 PMpulumi stack import
?rough-rain-68282
10/06/2021, 2:31 PM