adorable-musician-67025
03/25/2021, 1:28 PMadorable-musician-67025
03/25/2021, 1:37 PMbumpy-laptop-30846
03/25/2021, 1:48 PMloud-helicopter-75345
03/25/2021, 2:02 PMpulumi login --local
However I'm unclear on how to switch back again as this doesn't seem as simple. I'm currently at:
pulumi logout; pulumi login
Manage your Pulumi stacks by logging in.
Run `pulumi login --help` for alternative login options.
Enter your access token from <https://app.pulumi.com/account/tokens>
or hit <ENTER> to log in using your browser :
Open the browser, login to pulumi.com, create a new token, paste it into the terminal.
I already have a login and token so why is this needed? Is there something as simple as switching to a local backend? e.g.
pulumi login --standard
tall-shoe-66375
03/25/2021, 2:17 PMhundreds-mouse-62204
03/25/2021, 2:25 PMtall-shoe-66375
03/25/2021, 2:53 PMpulumi import gcp:sql/databaseInstance:DatabaseInstance db_instance projects/mystical-moon-307818/instances/prod-mysql
Error
gcp:sql:DatabaseInstance (db_instance):
error: gcp:sql/databaseInstance:DatabaseInstance resource 'db_instance' has a problem: AtLeastOne: "settings": one of `clone,settings` must be specified
error: gcp:sql/databaseInstance:DatabaseInstance resource 'db_instance' has a problem: AtLeastOne: "clone": one of `clone,settings` must be specified
error: Preview failed: one or more inputs failed to validate
agreeable-ram-97887
03/25/2021, 5:12 PMpulumi up
/ pulumi preview
in a gitlab CICD script with docker resources? If so would you mind sharing how you've configured your pipeline? Or at least giving some hint about the "right" way to do it.
When I try this myself, I unfortunately keep getting the error FileNotFoundError: [Errno 2] No such file or directory: 'docker': 'docker'
, and I'm not sure what to make of that š¤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 PM