busy-umbrella-36067
11/04/2019, 6:37 PMcreate/replace
when the resources provider changes?
We use the output from an EKS cluster to build a k8s provider, anytime the CloudFormation stack is modified all of the Helm chart resources are slated for deletion.witty-yacht-82771
11/04/2019, 6:58 PMpulumi logs
? Been digging around in docs but can’t find it. Thanks!worried-engineer-33884
11/04/2019, 7:13 PMthankful-optician-22583
11/04/2019, 8:15 PMhigh-morning-18773
11/04/2019, 11:06 PMAttributeError: 'dict' object has no attribute 'resourceRecordName'
Here is the code
useast1 = aws.Provider("useast1", region="us-east-1")
zone = aws.route53.get_zone(
name="<http://testabc.com|testabc.com>",
private_zone=False
)
appcert = aws.acm.Certificate(
"snorkel-dev-cert",
domain_name="<http://testabc.com|testabc.com>",
validation_method="DNS",
__opts__=pulumi.ResourceOptions(provider=useast1)
)
certvalidaton_dns = aws.route53.Record(
"cert-validation-reocord",
name=appcert.domain_validation_options[0].resourceRecordName,
records=appcert.domain_validation_options[0].resourceRecordValue,
type=appcert.domain_validation_options[0].resourceRecordType,
zone_id=zone.zone_id
)
appcert_validation = aws.acm.CertificateValidation(
"app-cert-validation",
certificate_arn=appcert.arn,
validation_record_fqdns=certvalidaton_dns.fqdn
)
most-parrot-35986
11/05/2019, 7:44 AMTypeError: Cannot read property 'kubeconfig' of undefined
. The documentation and code examples suggests I should have access to the kubeconfig and provider from the output. Can I get someone to take a look at see if I just missed something here? Much appreciated.
// Create method in EKS class
async createEksCluster (networking) {
try {
const cluster = new eks.Cluster(this.clusterName, {
endpointPrivateAccess: this.apiPrivateAccess,
endpointPublicAccess: this.apiPublicAccess,
skipDefaultNodeGroup: true,
version: this.version,
vpcId: networking.apply(network => network.vpcId),
subnets: networking.apply(network => network.publicSubnetIds),
nodeAssociatePublicIpAddress: false,
deployDashboard: false,
tags: {
stack: this.stack
}
})
return cluster
} catch (error) {
Error(error)
}
}
// Calling function
const cluster = await eks.createEksCluster(networking)
// Combining output into usable inputs for other modules
const composite = pulumi.all([
cluster.kubeconfig,
cluster.provider,
cluster.core.instanceProfile
]).apply(([
kubeconfig,
provider,
instanceProfile
]) => {
return {
kubeconfig: kubeconfig,
provider: provider,
instanceProfile: instanceProfile
}
})
red-football-97286
11/05/2019, 10:59 AMred-football-97286
11/05/2019, 10:59 AMERROR: Failed building wheel for grpcio
Running setup.py clean for grpcio
Failed to build grpcio
Installing collected packages: protobuf, grpcio, dill, pulumi, semver, attrs, arpeggio, parver, pulumi-aws
Running setup.py install for grpcio ... error
ERROR: Command errored out with exit status 1:
better-actor-92669
11/05/2019, 4:08 PMKubernetes Engine API has not been used in project
from pulumi itself?high-morning-18773
11/05/2019, 6:38 PMbusy-dream-44660
11/05/2019, 6:47 PMpulumi up
I've had a coworker test and he is able to run up
on my stack using files from my branch. Our working dirs are identical. Any idea why mine's hanging? I'll run with verbosity cranked up and add to this as a thread.cool-egg-852
11/05/2019, 9:17 PMbright-apple-15972
11/06/2019, 3:45 PMbrave-angle-33257
11/06/2019, 7:31 PMdeploy@274beb9a1c53:/data/pulumi/infra/aws/collector-s3$ pulumi stack rm --force MyCompany/us-east-2-prod
error: no stack named 'MyCompany/us-east-2-prod' found
deploy@274beb9a1c53:/data/pulumi/infra/aws/collector-s3$ pulumi stack rm --force us-east-2-prod
error: no stack named 'us-east-2-prod' found
deploy@274beb9a1c53:/data/pulumi/infra/aws/collector-s3$ pulumi stack init MyCompany/us-east-2-prod
error: stack 'us-east-2-prod' already exists
incalculable-engineer-92975
11/06/2019, 8:31 PMincalculable-engineer-92975
11/06/2019, 8:32 PMgentle-garage-52880
11/06/2019, 9:18 PMpulumi up
inside of the code via node?gentle-garage-52880
11/06/2019, 9:18 PMearly-musician-41645
11/06/2019, 10:09 PMnew aws.ec2.Instance
but I don't see how to set the instance name (i.e. the name column that shows up in the AWS ec2 console). It defaults to an empty name.
Any ideas on how to get that set in the Instance
resource?cool-egg-852
11/06/2019, 10:10 PMtag
with Name
as the key.early-musician-41645
11/06/2019, 10:11 PMfresh-summer-65887
11/06/2019, 11:28 PMawsx.lb.ApplicationLoadBalancer
- how do I get the dnsName and zone id so I can setup a route53 alias? Been following https://www.pulumi.com/docs/guides/crosswalk/aws/elb/ however ApplicationLoadBalancer
seems to be missing properties that are found on `LoadBalancer`(https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/alb/#LoadBalancer-dnsName) . Sample code in thread->gray-city-50684
11/07/2019, 1:37 PMbusy-magazine-48939
11/07/2019, 1:57 PMfierce-cpu-94517
11/07/2019, 3:47 PMloud-computer-30956
11/07/2019, 6:35 PMcool-egg-852
11/07/2019, 8:45 PMgcp.sql.User
are not automatically encrypted?fresh-flag-12765
11/08/2019, 2:26 AMConfiguration:
aws:region: us-east-1
root:tag: latest
Type Name Status Info
pulumi:pulumi:Stack root-dev **failed** 1 error
- ├─ aws:ec2:SecurityGroupRule web-listener-external-0-egress **deleting failed** 1 error
- ├─ aws:ec2:SecurityGroupRule web-listener-external-0-ingress **deleting failed** 1 error
├─ aws:lb:LoadBalancer root-nlb
├─ aws:lb:TargetGroup tg
├─ aws:lb:TargetGroup web-tg
└─ aws:ec2:SecurityGroup web-lb
Diagnostics:
aws:ec2:SecurityGroupRule (web-listener-external-0-egress):
error: Plan apply failed: 1 error occurred:
* missing required configuration key "aws:region": The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
Set a value using the command `pulumi config set aws:region <value>`.
pulumi:pulumi:Stack (root-dev):
error: update failed
aws:ec2:SecurityGroupRule (web-listener-external-0-ingress):
error: Plan apply failed: 1 error occurred:
* missing required configuration key "aws:region": The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
Set a value using the command `pulumi config set aws:region <value>`.
ancient-plastic-80816
11/08/2019, 6:12 AMboundless-airport-99052
11/08/2019, 9:26 AM