colossal-australia-65039
03/25/2021, 6:50 PMStackReference.getOutput('name')
require the IAM user be able to read the entire stack state including all secrets in the state?great-evening-28439
03/25/2021, 11:02 PMpulumi up
. However it happened, one of my stacks is just no longer there when I pulumi stack ls
. My state is stored in an s3 bucket so there are many days worth of backups for this state, but I can’t seem to figure out how to import those json backup files into a new state. So I guess my question how do I use checkpoint files to recreate the stack that was deleted? By “checkpoint” files I mean the ones that start like this…billions-yak-67755
03/26/2021, 10:24 AMenough-truck-34175
03/26/2021, 2:44 PMPulumi.production.yaml
. This would make it easy to maintain common configuration in one place.billions-yak-67755
03/26/2021, 2:49 PM* [ERR]: Error building changeset: InvalidChangeBatch: [Tried to create an alias that targets myelbname.us-west-2.elb.amazonaws.com., type A in zone myzoneid, but the alias target name does not lie within the target zone, Tried to create an alias that targets myelbname.us-west-2.elb.amazonaws.com., type A in zone myzoneid, but that target was not found]
The code:
a_record = aws.route53.Record(
'my-a-record',
allow_overwrite=True,
name=my_domain,
aliases=[aws.route53.RecordAliasArgs(
evaluate_target_health=False,
name=the_elb_dns,
zone_id=my_zone
)],
type='A',
zone_id=my_zone
)
Docs say:
DNS domain name for a CloudFront distribution, S3 bucket, ELB, or another resource record set in this hosted zone.https://www.pulumi.com/docs/reference/pkg/aws/route53/record/#recordalias Is there something I am obviously doing wrong here? It seems to me that the change is only looking for other resource record sets, not ELB resources?
numerous-artist-1705
03/26/2021, 3:58 PMswift-agency-29333
03/26/2021, 11:43 PMpurple-jelly-68780
03/27/2021, 1:07 AMpulumi:pulumi:Stack (health-directory-dev):
error: Missing required configuration variable 'health-directory:newrelicAccountId'
please set a value using the command `pulumi config set health-directory:newrelicAccountId <value>`
Here is where it's trying to be read (have also tried just config.require
with the same results):
config.requireSecret('newrelicAccountId')
Here is my Pulumi config:
> pulumi config
KEY VALUE
aws:region us-west-2
bastionPrivateKey [secret]
bastionPublicKey [secret]
dbPassword [secret]
dbPrivateKey [secret]
dbPublicKey [secret]
newRelicAccountId 3112141
slackAlertsUrl [secret]
newrelic:accountId 3112141
newrelic:adminApiKey [secret]
newrelic:apiKey [secret]
No issues with the other values currently, just the new ones for New Relic (using either newRelicAccountId or newrelic:accountId appears to exhibit the same behavior)sparse-state-34229
03/27/2021, 3:06 AMpulumi up
on an existing stack: https://gist.github.com/ohlol/4c06ba68c395f80c38434385454950f7
in this gist, you can see the first couple lines are a successful pulumi up
on a brand new stack. then when I run pulumi up
again, there is a panic. I found a few similar github issues around this but nothing suggesting a resolution. anyone seen this?better-shampoo-48884
03/27/2021, 10:00 AMhundreds-painter-6367
03/27/2021, 4:34 PMmkdir example-stack
• pulumi new--dir example-stack
• i choosed aws-python
• cd example-stack
• pulumi up
And the console showed me this:
error: failed to load language plugin python: could not read plugin [/usr/local/bin/pulumi-language-python] stdout: EOF
¿Did someone know how to solve this error?
I’m on Mac with python installed on version 3.8agreeable-ram-97887
03/27/2021, 8:55 PMkubectl apply
command by setting -n <namespace>
, so it feels like something that should be supported by Pulumi as well. But I don't see any obvious argument candidates on the documentation 🤔clever-cartoon-41433
03/28/2021, 1:02 AMswift-agency-29333
03/28/2021, 3:47 PMnarrow-airport-65967
03/28/2021, 9:55 PMnarrow-airport-65967
03/29/2021, 1:36 AMlittle-vegetable-79574
03/29/2021, 4:49 AMlemon-vase-32091
03/29/2021, 1:43 PMpulumi stack ls -p $PROJECT
and destroy whatever is redundant.
Is there an easy way to list all projects for my organisation using the cli or api (couldn't find such cmd)?
Also using pulumi stack ls -a
could be a good for the job, but it is limited to 300 results and we currenly have >3000.better-shampoo-48884
03/29/2021, 1:45 PMlemon-machine-35564
03/29/2021, 2:02 PMhandsome-state-59775
03/29/2021, 2:03 PMproud-pizza-80589
03/29/2021, 3:54 PMadamant-translator-31969
03/29/2021, 4:21 PMwonderful-napkin-50018
03/29/2021, 5:08 PMstack init staging
and stack import --file staging.json.bak
pulumi says:
error: could not deserialize deployment: unexpected end of JSON inputAny idea how to debug this or what to try next? I am lost.
wonderful-napkin-50018
03/29/2021, 5:28 PMIf you are using Pulumi in your organization, by default the stack will be created in your user account. To target the organization, name the stack using `orgName/stackName`:Does this only apply to pulumi.com as state backend? If I try this with S3 backend it says:
$> pulumi stack init orgName/test
error: stack names may not contain slashes
wonderful-napkin-50018
03/29/2021, 7:32 PMCluster
in one Stack and reference it in a FargateService
in another stack. How do I do this with awsx? The FargateService expects a whole Cluster argument, not just an ID or name. And I don't see how I can "get" an existing cluster with awsx.ecs.Cluster
. Do I have to export the whole cluster from the first stack?elegant-carpet-8859
03/29/2021, 7:48 PMwonderful-napkin-50018
03/29/2021, 11:15 PMshy-bird-55689
03/29/2021, 11:43 PMerror: 1 error occurred:
* Error creating API Gateway Deployment: BadRequestException: The REST API doesn't contain any methods
(using python) i'm specifying an OpenAPI spec for the body of aws.apigateway.RestApi
which has routes and methods configured.
Not sure what i'm maybe missing somewhere, new to Pulumi (coming from Serverless Framework)eager-lion-7694
03/30/2021, 2:23 AMeager-lion-7694
03/30/2021, 2:23 AMlittle-cartoon-10569
03/30/2021, 2:25 AM