steep-caravan-65104
02/11/2020, 3:40 AMpulumi up --target=xxx
? In one of our stacks, I always get an error similar to Target 'urn:pulumi:<pulumi-stack-name>::<pulumi-project-name>::gcp:dns/recordSet:RecordSet::cname-dev' could not be found in the stack. Did you forget to escape $ in your shell?
I have been careful to ensure that there's no $
in the URN name as the error message seems to suggest.
The reason I need to perform such partial updates is that one of the objects in this Pulumi stack is a GCP VPC private subnet, whose metadata gets updated on a vanilla pulumi up
, but then Pulumi can't update this subnet URN since it's already being used by a GKE cluster.swift-painter-31084
02/11/2020, 3:53 AMconst apiGateway = ( queueIDObject ) => {
return new awsx.apigateway.API( GATEWAY_NAME, {
routes: [ {
path: ROUTE,
method: 'POST',
// Note wrapping this as a callback function it can have additional attributes set on the lambda
eventHandler: new aws.lambda.CallbackFunction("write-event-to-sqs", {
memorySize: 128,
callback: async ( event, context ) => {
return webhookProcess.fire( event, context, queueIDObject );
},
description: "write events to queue and return 200"
})
} ]
} );
};
Any ideas on how I could get eventHandler
logs written to a named log group?sparse-car-32271
02/11/2020, 7:55 AMterraform/variants/webapi-dev/webapi-dev.tf
to pulumi/index.ts
.
├── pulumi
│ ├── Pulumi.yaml
│ ├── index.ts
└── terraform
├── README.md
├── modules
│ ├── shared
│ │ └── <http://main.tf|main.tf>
│ └── webapi
│ └── <http://main.tf|main.tf>
└── variants
├── shared
│ └── <http://shared.tf|shared.tf>
├── webapi-dev
│ └── <http://webapi-dev.tf|webapi-dev.tf>
└── webapi-prod
└── <http://webapi-prod.tf|webapi-prod.tf>
witty-yacht-82771
02/11/2020, 3:39 PMwitty-yacht-82771
02/11/2020, 4:15 PMcolossal-plastic-46140
02/11/2020, 6:33 PMelegant-crayon-4967
02/11/2020, 9:08 PMpulumi config set --secret …
Now I want to remove those so I can run the stack from a different location. Just clearing them out of my local config file didn’t seem to do anythingswift-painter-31084
02/11/2020, 10:12 PMsalmon-account-74572
02/11/2020, 11:36 PMrefined-vegetable-66224
02/12/2020, 1:55 AMpulumi up
I am getting the following error
error: deleting urn:pulumi:production::insig-express::awsx:x:ecs:Cluster$awsx:x:autoscaling:AutoScalingGroup$awsx:x:autoscaling:AutoScalingLaunchConfiguration$aws:ec2/launchConfiguration:LaunchConfiguration::apps-autoscaling-prod: error deleting Autoscaling Launch Configuration (app-autoscaling-prod-9341984): ResourceInUse: Cannot delete launch configuration app-autoscaling-prod-9341984 because it is attached to AutoScalingGroup app-autoscaling-prod-654d7a2-Instances-10K7OFBLTHZ2N
status code: 400
I've tried everything on this page https://www.pulumi.com/docs/troubleshooting with no luck. Any advice would be appreciated!breezy-butcher-78604
02/12/2020, 5:48 AMmammoth-caravan-51104
02/12/2020, 9:15 AMkubernetes:extensions:Deployment (kube-system/monitoring-influxdb):
warning: extensions/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.
error: 2 errors occurred:
* resource kube-system/monitoring-influxdb was successfully created, but the Kubernetes API server reported that it failed to fully initialize or become live: 'monitoring-influxdb' timed out waiting to be Ready
* Minimum number of Pods to consider the application live was not attained
rapid-eye-32575
02/12/2020, 11:38 AMabundant-author-13372
02/12/2020, 12:33 PMconst vpc = new awsx.ec2.Vpc(name, {
subnets: [{type: 'public'}],
tags: tags,
});
const cluster = new eks.Cluster(name, {
vpcId: vpc.id,
subnetIds: vpc.publicSubnetIds, }
Any idea on why it's not destroying properly? Could this be a bug? It's happened before, and I've had to go and manually destroy some underlying resources (load blancers I think). I do have some Helm charts deployed in the cluster (manged with pulumi as well) that include Load Balancer services, and these seem to be scheduled for destruction after the subnet and ig. Might this be it? any suggestions on how to properly manage dependencies for these charts?bitter-dentist-28132
02/12/2020, 3:36 PMipAddress
. but in AWS, the ipAddress
is actually a hostname, so obviously it can't be used as the value for an A record. what's the way to do the same kind of thing in AWS?thankful-optician-22583
02/12/2020, 4:48 PMelegant-crayon-4967
02/12/2020, 9:41 PMbitter-dentist-28132
02/12/2020, 11:14 PMpulumi.Output<>
s. how can i do this?mammoth-elephant-55302
02/13/2020, 4:29 AMpulumi up
on uncommitted codeabundant-author-13372
02/13/2020, 12:44 PMlimited-rainbow-51650
02/13/2020, 1:17 PMaliases
rock!icy-london-58403
02/13/2020, 5:22 PMmy-special-bucket-abc123
and then pulumi sees the need to destroy and recreate. I have create before destroy set. Then it tries to create my-special-bucket-xyz321
. Let's say I'm good with that but I need the data moved with the change. I could make an ssm automation document that could take a source bucket as input and a destination bucket as input and copy everything over. Would I be able to trigger the execution of that ssm automation document or any other type of script to handle that phase of the pulumi resource replacement lifecycle? I am not currently working on solving this but I'm just curious.mammoth-caravan-51104
02/13/2020, 7:18 PMcareful-market-30508
02/13/2020, 7:19 PMshy-microphone-28807
02/13/2020, 9:33 PMawsx.ec2.Vpc.getDefault()
to get the default VPC in my account, is there a way to get the default security group in that VPC?echoing-solstice-67837
02/14/2020, 12:41 AMaws.organizations.Account
but I’d like to see examples of this in use. Sadly, it’s not one of the modules in the examples Github repo so all I can find is the module reference page (which reads like Greek to non-devs like myself). I just need to see one working example. Anyone here have something like that?echoing-barista-73764
02/14/2020, 2:09 PMabundant-author-13372
02/14/2020, 3:07 PMwitty-account-74131
02/14/2020, 4:38 PMwitty-account-74131
02/14/2020, 4:40 PMwitty-account-74131
02/14/2020, 4:40 PM