gorgeous-window-12350
04/27/2021, 5:52 PMpulumi stack output
for various resource identifiers. I’d prefer to write the script in Python where I can actually import the relevant values, but I’m not sure if there’s a way to do this. Any guidance here? Thanks!salmon-helmet-94174
04/27/2021, 8:15 PMgray-river-5585
04/27/2021, 8:50 PMlocal
as a backend, I can successfully provision AWS resources, but when I try to setup a s3 backend, I get the below error. I can read/write to the bucket via AWS CLI. I have also tried using a fully public bucket (for debugging only) and got the same error. Any advice would be greatly appreciated
error: could not create stack: An IO error occurred while writing the new snapshot file: blob (key ".pulumi/stacks/dev.json") (code=Unknown): AccessDenied: Access Denied
status code: 403, request id: XXXXXXXXXXXXX, host id: XXXXXXXXXXXXXXXXXXXXXX
chilly-hair-40982
04/28/2021, 5:06 PMpulumi refresh
says there are no changes? This is something that I would expect cfn to catch, is that not possible?
Maybe I am misunderstanding the purpose of the refresh
command. Just experimenting with pulumi
at the momenticy-smartphone-11572
04/29/2021, 9:25 AMimportant-sandwich-62391
04/29/2021, 7:19 PMfresh-hospital-81544
04/30/2021, 2:05 AMResources:
+ 17 to create
- 2 to delete
19 changes. 8 unchanged
and after the update it shows
Resources:
+ 15 created
8 unchanged
two things have failed to create so the +15 is expected but pulumi has made no attempt to delete the resources and no error is mentioned regarding the resources to be destroyed. Am i misunderstanding something?shy-sandwich-50117
04/30/2021, 6:12 AMbored-hamburger-89415
04/30/2021, 4:23 PMpulumi logout
when I'm changing stacks?bored-hamburger-89415
04/30/2021, 4:27 PMbored-hamburger-89415
05/03/2021, 1:09 PMThe _unique_ provider ID of the resource to lookup.
might be alluding to on this provider: https://www.pulumi.com/docs/reference/pkg/azuredevops/user/?late-shampoo-62908
05/03/2021, 5:07 PMpulumi.export("network.vpc.id",vpc.id)
How do i, in a separate part of the same stack can retrieve that exported property?
All within the same stack.
I've tried with StackReference, but since i'm within the same stack i want to reference i got a "resource registered twice" error msgbright-scientist-61638
05/04/2021, 1:41 PMtargetGroupArn
but I can't see what to pass in there. I'm using AWS crosswalk - is that limited in terms of what I can configure?
Can anyone point me to docs/tutorials on more complex load balancer config please?jolly-area-2976
05/04/2021, 10:19 PMgray-river-5585
05/04/2021, 10:32 PMaloof-jelly-80665
05/05/2021, 1:21 AMException: invoke of kubernetes:helm:template failed: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: chart "prometheus-community/kube-state-metrics" version "3.0.1" not found in <https://prometheus-community.github.io/helm-charts> repository
def deploy_kube_state_metrics(k8s_provider):
from pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts
def fix_crd_issue(obj, opts):
# <https://github.com/pulumi/pulumi-kubernetes/issues/800>
# also, <https://github.com/pulumi/pulumi-kubernetes/issues/1541>
if obj["kind"] == "CustomResourceDefinition" and obj.get("status"):
del obj["status"]
Chart(
"kube-state-metrics-helm-chart",
config=ChartOpts(
chart="prometheus-community/kube-state-metrics",
version="3.0.1",
namespace="kube-state-metrics",
fetch_opts=FetchOpts(
repo="<https://prometheus-community.github.io/helm-charts>",
),
transformations=[fix_crd_issue],
),
opts=pulumi.ResourceOptions(provider=k8s_provider),
)
high-diamond-73999
05/05/2021, 2:50 PMmetadata=ObjectMetaArgs(labels=app_labels, namespace="mynamespace")
Thanks a lot in advance!prehistoric-london-9917
05/05/2021, 9:42 PMorganization
reference?little-van-8457
05/06/2021, 2:25 AMbored-hamburger-89415
05/06/2021, 6:18 AMAWS_PROFILE
set
❯ pulumi login
Logged in to JHARRI-GCE12086 as jake.harris (s3://***/api-sendmail/)
❯ pulumi new kubernetes-typescript --force
This command will walk you through creating a new Pulumi project.
Enter a value or leave blank to accept the (default), and press <ENTER>.
Press ^C at any time to quit.
project name: (pulum)
project description: (A minimal Kubernetes TypeScript Pulumi program)
Created project 'pulum'
stack name: (dev)
Sorry, could not create stack 'dev': could not create stack: An IO error occurred while writing the new snapshot file: blob (key ".pulumi/stacks/dev.json") (code=Unknown): InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
little-van-8457
05/06/2021, 11:26 AMquiet-architect-74241
05/06/2021, 3:23 PMpulumi up
, but when I try to run the same Stack in an Azure DevOps pipeline, it fails with this message: error: getting secrets manager: passphrase must be set with PULUMI_CONFIG_PASSPHRASE or PULUMI_CONFIG_PASSPHRASE_FILE environment variables
The walkthrough mentions nothing about that and also adding that variable with an arbitrary value doesn't have any effect.
Any clues?cuddly-father-4905
05/06/2021, 4:08 PMimportant-sandwich-62391
05/06/2021, 9:24 PM// not valid, but basically what I want to do:
strings.Join([]string{subnetA.ID(), subnetB.ID()}, ",")
// howto convert this into "foo,bar" (comma separated string)
subnetsIDs := pulumi.StringArray{subnetA.ID(), subnetB.ID()}.ToStringArrayOutput().ApplyT(func(input []string) string {
return strings.Join(input, ",")
})
// subnetsIDs is not a StringInput??
bored-hamburger-89415
05/07/2021, 4:49 AMlittle-van-8457
05/07/2021, 7:01 AMglamorous-alligator-88004
05/07/2021, 12:30 PMfuture-vase-15854
05/07/2021, 4:35 PMelegant-garden-76734
05/07/2021, 7:09 PMgit
branch?important-sandwich-62391
05/08/2021, 10:16 PMimportant-sandwich-62391
05/08/2021, 10:16 PMbillowy-army-68599
05/09/2021, 12:55 AMOutputs:
privateKey: "[secret]"
publicKey : "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6nJ9yyf6OeLaP82IeEWVSFNjNX+NT5ULQL0bQlSODtUDoBJAlyeC1vWdtP6ln0nca7wn0Xy4XOkKeYl5pdOLRMOwL9CdR1pr13xZCTCAf3j348kFu2RSjZknCy8Odf/omr/K81RBCQIA2HcdyoibkG+60Zg60nkw3uUF3B9JASU6c5b/hdwgORrDdOMelOtlGuARAFjrqMlXdbAbte3uyOCq6JBHxmnoMZv7XXvOOxgbNqIKUNJ4gXqigFYW2ndx1265b6RV4i81KVzASkfo3vXNJc7SJ2jMzTnIrjdBKMjqM2q63AJMV2Qkhgn8P7/aBiw7sf8HxeQX54bCvUCH6acP2sUIwc5Rx4o+x8hAOUQgkSwQaQAjvb/miKAg6AMqGe1WTLh6k9XlnJkDs23OnsnXtZZoPDW88IQTl6gGSZk9xEzNKBneStM+HQ3xV0pTBUWMzP9AUx/vCgDn8aNpShMllKqfo0S5U57W6mG1boAMUWNKJvVJGrv2sadOnD3br0Y6IdixnIemfjZ+X2cJVyd97Wat0EZfuf2gg8bXtT4nimNDv3OPBqSsfoHn5WMvv+W5B7FJnVnN5h2EfJ9lpCE/QzVpLo3x4XivtyY+UuUqnzW0wz2XDBqjNFNn+xAcUjb3to5dKr9IzNydtINh7kRjOLiXiggz2g5GdorX/oQ==\n"
important-sandwich-62391
05/09/2021, 6:50 PM