ambitious-appointment-66307
10/23/2020, 9:47 PMpulumi preview
wants to recreate everything. I did have to create a “fake” stack in my docker container as pulumi in gitlab wouldn’t recognize my stack (see https://pulumi-community.slack.com/archives/C84L4E3N1/p1602800146017200) which I assume is part of my problem. Am I missing something here or is there something I am doing wrong?echoing-postman-88590
10/24/2020, 3:40 PMpulumi preview
. For example in a VirtualMachine
resource with no admin_password
attribute and disable_password_authentication=False
I would expect that it will throw an error, but it did not. Thanksabundant-book-50300
10/24/2020, 10:47 PMDiagnostics:
pulumi:pulumi:Stack (pulumi-quickstart-dev):
# pulumi-quickstart
.\main.go:48:12: cannot use v.Template (type "<http://github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/core/v1|github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/core/v1>".PodTemplateSpec) as type *"<http://github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/core/v1|github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/core/v1>".PodTemplateSpec in return argument
error: an unhandled error occurred: program exited with non-zero exit code: 2
My main.go
is copied and pasted from the program on https://www.pulumi.com/docs/get-started/kubernetes/modify-program/blue-pilot-69163
10/25/2020, 3:54 AMcalm-horse-33012
10/25/2020, 2:35 PMhigh-scientist-88788
10/25/2020, 3:30 PMicy-jordan-58549
10/26/2020, 1:08 PMdazzling-sundown-39670
10/26/2020, 2:59 PMblue-pilot-69163
10/26/2020, 6:57 PMnarrow-jackal-57645
10/27/2020, 7:59 AMdazzling-sundown-39670
10/27/2020, 3:51 PMrepository.buildAndPushImage(inputs.buildOptions)
in the create
method of a pulumi.dynamic.ResourceProvider
but I'm getting the following error: Error: Program run without the Pulumi engine available; re-run using the pulumi CLI
. Is that not allowed?brief-spoon-92183
10/27/2020, 8:07 PMmany-spring-73557
10/27/2020, 11:11 PMconfigured Kubernetes cluster is unreachable: unable to load Kubernetes client configuration from kubeconfig file: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
- how do I get pulumi to use the configuration that it has created for the cluster?billions-greece-30724
10/27/2020, 11:12 PMazure-nextgen:managedidentity/v20181130:UserAssignedIdentity (nvp-ppi-avlx):
error: azure#getURLFromLocationHeader: invalid polling URL '/subscriptions/****/resourcegroups/nvp-ppi-windows-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/nvp-testresourcename': StatusCode=0
This is the code I am using:
var userAssignedIdentity = new Pulumi.AzureNextGen.ManagedIdentity.V20181130.UserAssignedIdentity(miName, new Pulumi.AzureNextGen.ManagedIdentity.V20181130.UserAssignedIdentityArgs
{
Location = "West US",
ResourceGroupName = "nvp-ppi-windows-rg",
ResourceName="nvp-testresourcename"
});
I am able to use az identity create --resource-group nvp-ppi-windows-rg --name nvpppitest
. My resource group is in 'West US'... Any ideas?
Interestingly, the identity does get created - I just get a message from Pulumi that it failed.
Also, I will add that testing with the non-AzureNextGen provider (Pulumi.Azure.Authorization.UserAssignedIdentity) adds the identity correctly.faint-magazine-19896
10/28/2020, 6:03 PMwet-soccer-72485
10/28/2020, 6:16 PMpulumi up
terminal output? When I run #kubernetes up commands, I have to zoom all the way out to see the status message. I guess I can go to app.pulumi.com but doesn’t the defeat the purpose of having the terminal output. It’s easier in general to keep an eye on the terminal output for my personal workflow.many-spring-73557
10/28/2020, 10:12 PMpulumi refresh
(which presumably would inform it that the thing doesn’t exist) times out. What’s the general approach for handling this situation?witty-market-32785
10/28/2020, 11:19 PMmany-spring-73557
10/28/2020, 11:55 PMprotect: true
figuring pulumi would skip over it when I do pulumi destroy
- but instead that halts the entire destroy process. I just want pulumi to skip over it when destroying the stackbumpy-photographer-59590
10/29/2020, 2:07 AMbumpy-photographer-59590
10/29/2020, 2:09 AMfierce-engine-31599
10/29/2020, 1:28 PMhigh-morning-17948
10/29/2020, 2:23 PM/**
* Attach Lambda Policies
*/
const lambdaVpcAccess = new aws.iam.RolePolicyAttachment(
`${stack.prefix}-lambda-vpc-access`,
{
role: role.name,
policyArn: aws.iam.ManagedPolicy.AWSLambdaVPCAccessExecutionRole,
}
);
busy-umbrella-36067
10/29/2020, 6:28 PMpulumi login
or pulumi stack init
)
I’m trying to imagine replacing helm with it.high-morning-17948
10/29/2020, 7:20 PMawsx.apigateway.API
so when I pass the LogGroup ARN to the stageArgs
it doesn't generates the following error:
error: 1 error occurred:
* updating urn:pulumi:dev::booksloth-api::aws:apigateway:x:API$aws:apigateway/stage:Stage::booksloth-api-dev: 1 error occurred:
* Updating API Gateway Stage failed: BadRequestException: CloudWatch Logs role ARN must be set in account settings to enable logging
This is what I tried so far:kind-address-14510
10/29/2020, 8:05 PMbrief-printer-34348
10/29/2020, 8:28 PMwet-hair-90323
10/30/2020, 1:05 AMaws.sqs.getQueue
, but it accepts a string
queue name, rather than an Output<string>
, and therefore runs before the queue is actually created even if i use a static name for the queue.early-kite-86569
10/30/2020, 1:55 AMAlthough the template uses a very simple package structure, by placingBut I think that is it. My question: Is there a way to make thein the root directory, Pulumi fully supports properly modularized Python programs and__main__.py
files. This is important if you ever decide to turn your Pulumi program into a library.setup.py
__main__.py
of a pulumi stack a pip
installable thing? Basically, if I want to build out an application that has heavily tied together processing pipelines and infrastructure, can I tell the Pulumi.yaml
file "hey please go look for this script that was pip installed" so that I can match up the processing pipeline versions and the infrastructure versions? Or is this a bad idea?strong-army-91908
10/30/2020, 2:49 AMstrong-army-91908
10/30/2020, 2:49 AMbillowy-army-68599
10/30/2020, 3:20 AM