freezing-winter-55007
10/17/2020, 5:33 AMpulumi state delete <urn>
and say “screw it” and delete the resources’ children as well? This particular resource has lots of children to remove.gifted-city-99717
10/17/2020, 3:21 PMtf2pulumi
(v0.9.0) on an existing terraform project but get the following error:
error: no resource plugin 'template' found in the workspace or on your $PATH
I think that’s referencing this plugin in the terraform registry but I haven’t been able to pulumi plugin install
it no matter the combination of [kind name version] that I’ve tried. Has anyone run into this?wet-noon-14291
10/17/2020, 10:49 PMbrief-spoon-92183
10/18/2020, 6:52 PMthankful-horse-53271
10/18/2020, 10:17 PMkind-mechanic-53546
10/18/2020, 11:37 PMelegant-island-39916
10/19/2020, 10:25 AMFargateProfile
for EKS in Pulumi Python. An AccessDeniedException
occurs even though the AWS profile executing this has the AdministratorAccess
policy and is able to create many other resources on AWS via Pulumi. Is there anything I can do to diagnose this issue?brainy-policeman-17905
10/19/2020, 10:32 AMbrainy-policeman-17905
10/19/2020, 10:56 AMkind-school-28825
10/19/2020, 4:34 PMenvironment
property for a fargate service. Locally that is possible of course by reading the env
file in development, but when trying to update the infrastructure I want these environment variables to be populated instead. I thought in each stack it is possible to add the variables on the pulumi stack page, at least that's my experience when using terraform. What is the way to go?bored-intern-60856
10/19/2020, 5:27 PMsalmon-australia-89174
10/19/2020, 8:03 PM// ### index.ts
...
const ingress = new k8s.networking.v1.Ingress(appName, {
metadata: appLabels,
spec: {
rules: [...]
}
});
const ingressRoute = new k8s.yaml.ConfigFile(appName, { // <--- here must be a more easy way to configure
file: 'traefik-ingress-route.yaml' // it fully in Typescript
});
...
// ### traefik-ingress-route.yaml
apiVersion: <http://traefik.containo.us/v1alpha1|traefik.containo.us/v1alpha1>
kind: IngressRoute
metadata:
name: myapp
namespace: default
spec:
entryPoints:
- websecure
routes:
- match: Host(`<http://myapp.url.com|myapp.url.com>`) || Host(`<http://www.myapp.url.com|www.myapp.url.com>`)
kind: Rule
services:
- name: myapp
port: 80
tls:
secretName: myapp-cert
tall-needle-56640
10/19/2020, 9:59 PMInputMap<string>
property. Something like
prog:resourceTags:
- BU1: Business
- CC: 12344
var resourceTags = config.RequireObject<Dictionary<string, string>>("resourceTags");
var storageAccount = new Account(storageAccountName, new AccountArgs
{
Tags = resourceTags,
});
But I get an error
Pulumi.Config+ConfigTypeException: Configuration 'PulumiPort:resourceTags' value '[{"BU1":"Business"}]' is not a valid System.Collections.Generic.Dictionary`2How do I do this?
jolly-camera-35709
10/20/2020, 4:56 AMjolly-camera-35709
10/20/2020, 5:43 AMvenv/bin/pip install -r requirements.txt
to install the python module. After installation, I found the executable was placed under /usr/local/bin/, when I type "az -v" at terminal, it obviously found the executable from this location and reported the following errorjolly-camera-35709
10/20/2020, 5:43 AMjolly-camera-35709
10/20/2020, 5:44 AMjolly-camera-35709
10/20/2020, 5:46 AMjolly-camera-35709
10/20/2020, 5:47 AMjolly-camera-35709
10/20/2020, 5:48 AMbitter-application-91815
10/20/2020, 1:36 PMbitter-application-91815
10/20/2020, 1:36 PMbitter-application-91815
10/20/2020, 1:36 PMaws:ec2:RouteTable (axiom-cloud-private-subnet-3-routetable-staging-g):
error: 1 error occurred:
* updating urn:pulumi:axiom-cloud::staging::aws:ec2/routeTable:RouteTable::axiom-cloud-private-subnet-3-routetable-staging-g: Error creating route: RouteAlreadyExists: The route identified by 0.0.0.0/0 already exists.
status code: 400, request id: c7800e9a-2e62-4efb-ad81-34b27f11c628
bitter-application-91815
10/20/2020, 1:37 PMbitter-application-91815
10/20/2020, 1:37 PMbitter-application-91815
10/20/2020, 1:40 PMView Live: <https://app.pulumi.com/axiom/staging/axiom-cloud/previews/a92a225e-8e64-40a2-b968-08f187e38f2f>
Type Name Plan Info
pulumi:pulumi:Stack staging-axiom-cloud
~ ├─ aws:ec2:RouteTable axiom-cloud-private-subnet-3-routetable-staging-g update [diff: ~routes]
~ ├─ aws:ec2:RouteTable axiom-cloud-private-subnet-1-routetable-staging-g update [diff: ~routes]
~ ├─ aws:ec2:RouteTable axiom-cloud-private-subnet-2-routetable-staging-g update [diff: ~routes]
+- ├─ aws:ecs:TaskDefinition monitors-staging-g-ecs-task replace [diff: ~containerDefinitions]
~ ├─ aws:ecs:Service monitors-staging-g-ecs-service update [diff: ~taskDefinition]
└─ kubernetes:<http://helm.sh/v3:Chart|helm.sh/v3:Chart> axiomdb-charts-staging-g
└─ kubernetes:extensions/v1beta1:Ingress axiomdb/axiomdb-ingress 1 warning
Diagnostics:
kubernetes:extensions/v1beta1:Ingress (axiomdb/axiomdb-ingress):
warning: extensions/v1beta1/Ingress is deprecated by <http://networking.k8s.io/v1beta1/Ingress|networking.k8s.io/v1beta1/Ingress> and not supported by Kubernetes v1.20+ clusters.
Do you want to perform this update? yes
Updating (axiom/axiom-cloud)
View Live: <https://app.pulumi.com/axiom/staging/axiom-cloud/updates/67>
Type Name Status Info
pulumi:pulumi:Stack staging-axiom-cloud **failed** 1 error
~ ├─ aws:ec2:RouteTable axiom-cloud-private-subnet-2-routetable-staging-g updated [diff: ~routes]
~ ├─ aws:ec2:RouteTable axiom-cloud-private-subnet-3-routetable-staging-g **updating failed** [diff: ~routes]; 1 error
~ └─ aws:ec2:RouteTable axiom-cloud-private-subnet-1-routetable-staging-g updated [diff: ~routes]
bitter-application-91815
10/20/2020, 1:40 PMbrash-student-27683
10/20/2020, 2:49 PMvpc1 = new awsx.ec2.Vpc(..)
vpc2 = new awsx.ec2.Vpc(..)
new aws.ec2.VpcPeeringConnection(..)
now that the peering is set up, I need to add the route table entries to both the vpc’s route tables. But with crosswalk, these route tables are internally created for me. How do I access these route tables to add a new route to them? (to point the vpcs to each other)careful-nail-88325
10/20/2020, 4:29 PMpulumi.runtime.isDryRun()
to determine whether a preview or update is being executed and assuming the corresponding role. Unfortunately, the change in the provider also affects the state of my stack. Is there a recommended way to do this? Currently, I think I'm going to have to abandon the assumeRole functionality of the AWS provider and assume the role with the AWS CLI in advance before executing preview or update.tall-needle-56640
10/20/2020, 4:32 PM> pulumi up
Previewing update (dev)
Type Name Plan
pulumi😛ulumi:Stack PulumiPort-dev
+ ├─ azure:appservice:FunctionApp app create
- └─ azure:appservice:FunctionApp test20201910func delete
Resources:
+ 1 to create
- 1 to delete
2 changes. 5 unchanged
Do you want to perform this update? yes
Updating (dev)
Type Name Status Info
pulumi😛ulumi:Stack PulumiPort-dev failed 1 error
+ └─ azure:appservice:FunctionApp app creating failed 1 error
Diagnostics:
azure:appservice:FunctionApp (app):
error: web.AppsClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="NotFound" Message="Cannot find ServerFarm with name test20201910-aspa9aae18b." Details=[{"Message":"Cannot find ServerFarm with name test20201910-aspa9aae18b."},{"Code":"NotFound"},{"ErrorEntity":{"Code":"NotFound","ExtendedCode":"51004","Message":"Cannot find ServerFarm with name test20201910-aspa9aae18b.","MessageTemplate":"Cannot find {0} with name {1}.","Parameters":["ServerFarm","test20201910-aspa9aae18b"]}}]
tall-needle-56640
10/20/2020, 4:32 PM> pulumi up
Previewing update (dev)
Type Name Plan
pulumi😛ulumi:Stack PulumiPort-dev
+ ├─ azure:appservice:FunctionApp app create
- └─ azure:appservice:FunctionApp test20201910func delete
Resources:
+ 1 to create
- 1 to delete
2 changes. 5 unchanged
Do you want to perform this update? yes
Updating (dev)
Type Name Status Info
pulumi😛ulumi:Stack PulumiPort-dev failed 1 error
+ └─ azure:appservice:FunctionApp app creating failed 1 error
Diagnostics:
azure:appservice:FunctionApp (app):
error: web.AppsClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="NotFound" Message="Cannot find ServerFarm with name test20201910-aspa9aae18b." Details=[{"Message":"Cannot find ServerFarm with name test20201910-aspa9aae18b."},{"Code":"NotFound"},{"ErrorEntity":{"Code":"NotFound","ExtendedCode":"51004","Message":"Cannot find ServerFarm with name test20201910-aspa9aae18b.","MessageTemplate":"Cannot find {0} with name {1}.","Parameters":["ServerFarm","test20201910-aspa9aae18b"]}}]
gentle-diamond-70147
10/20/2020, 5:23 PMtall-needle-56640
10/20/2020, 6:23 PM