early-glass-64522
11/19/2020, 4:34 PMicy-london-56932
11/19/2020, 6:21 PMkubecontext
for a Helm chart resource?billowy-nightfall-59212
11/19/2020, 7:57 PMpulumi
with other tools in kubecon
https://kccncna20.sched.com/event/ek9o/five-hundred-twenty-five-thousand-six-hundred-k8s-clis-phillip-wittrock-gabbi-fisher-applebumpy-portugal-31592
11/19/2020, 10:32 PMearly-glass-64522
11/19/2020, 11:07 PMicy-london-56932
11/19/2020, 11:28 PMambitious-father-68746
11/20/2020, 1:39 AMpulumi update
will only show the details as secret
. For example, on an AWS Task Definition:
~ containerDefinitions: "[secret]" => "[secret]"
I really want to see what's about to change on that containerDefinition
. Is there a way to show those secret values?quiet-agency-98780
11/20/2020, 5:42 AMalert-raincoat-81485
11/20/2020, 6:47 AMingress=[aws.ec2.SecurityGroupIngressArgs(
AttributeError: module 'pulumi_aws.ec2' has no attribute 'SecurityGroupIngressArgs'
The code was referred from an Pulumi docs example.
security_group = aws.ec2.SecurityGroup( # type: ignore
"secgrp",
description="Splunk Hybrid cloud security group",
vpc_id=vpcid,
ingress=[aws.ec2.SecurityGroupIngressArgs(
description="TLS from VPC",
from_port=443,
to_port=443,
protocol="tcp",
cidr_blocks=["0.0.0.0/0"],
)],
egress=[aws.ec2.SecurityGroupEgressArgs(
from_port=0,
to_port=0,
protocol="-1",
cidr_blocks=["0.0.0.0/0"],
)],
)
Any suggestions?narrow-area-20379
11/20/2020, 7:45 AMsparse-dream-33326
11/20/2020, 12:21 PMgifted-island-55702
11/20/2020, 12:54 PMrandom.RandomPassword
and I'm wondering why it's result
output is not marked as secret and I have to do:
const password = new random.RandomPassword('myPassword', {...}, { additionalSecretOutputs: ['result'] })
Shouldn't it be marked as sensitive by default?acceptable-train-73155
11/20/2020, 1:47 PMexport const loadBalancer = new lb.ApplicationLoadBalancer('alb');
No param is given so it defaults to default vpc, which as subnets in two availability zones, and still I see :
error creating application Load Balancer: ValidationError: At least two subnets in two different Availability Zones must be specified
Any idea on what is happening ?
Thxnice-oyster-71086
11/20/2020, 9:33 PMkind-school-28825
11/21/2020, 8:49 AMlocal
stack? What I mean is, before pushing to the development
branch where my github actions run pulumi up
I want to test out if everything works one step before, where a stack gets created automatically, resources are created in the cloud, things get deployed, and when no errors are returned by pulumi and I am satisfied with my deployment, I would then merge the branch to the development
branch and the local
resources and the stack are destroyed? Sometimes when I make some changes, pulumi preview
doesn't return any errors, because I have defined everything correctly, but in reality my setup i.e port mapping to my ECS instance has not been set up properly, so I want to go back, modify my config and try again. Is that something possible?
I have a feeling that's what the automation API is capable of.curved-pharmacist-41509
11/21/2020, 11:57 AMcareful-architect-87653
11/22/2020, 10:25 AMsalmon-honey-75627
11/23/2020, 1:15 AMerror: deleting urn:pulumi:dev::crytic::aws:s3/bucket:Bucket::my-bucket: 1 error occurred:
* error deleting S3 Bucket (my-bucket-467da8e): BucketNotEmpty: The bucket you tried to delete is not empty
little-cartoon-10569
11/23/2020, 1:33 AMpulumi undelete
command that marks the resources as not-deleted instead of deletion-in-progress (so that I can go delete the unmanaged resources then run pulumi up
again, cleanly).miniature-leather-70472
11/23/2020, 2:17 PMicy-london-56932
11/23/2020, 8:29 PMlittle-cartoon-10569
11/24/2020, 12:02 AMpulumi import
and stack transformations, but to find a type I (think I) have to open node_modules/@pulumi/<provider>/<somedir>/<resource>.js and look down the bottom of the file.freezing-house-86375
11/24/2020, 12:06 AMlittle-cartoon-10569
11/24/2020, 3:04 AMpulumi import
. I've attempted to import just a few SNS topic policies (I'd successfully imported the topics already). I'm using a json file, and I've set a nameTable with the conveniently-but-confusingly named this and provider properties: I chose this because the generated code was to go in the constructor of a ComponentResources, and the parent of the topics would be this
. Short cut!
Importing worked but no code was generated. The state was updated and looks like I want it to. The parent and provider properties of the new resources have the correct values (values from the nameTable properties). This error was output:
error: no name for provider urnpulumiMyStack:MyProjectNameawsMyClassmyIdWhat might have gone wrong?
salmon-honey-75627
11/24/2020, 3:13 AMmany-mouse-4292
11/24/2020, 1:04 PMfrom pulumi.resource import ComponentResource
class AggregatorComponent(ComponentResource):
def __init__(self, *args, **kwargs) -> None:
super(AggregatorComponent, self).__init__(t="aggregator", *args, **kwargs)
and using it like so
project_aggregator = AggregatorComponent(name=project_id)
opts = ResourceOptions(parent=dataset_aggregator)
DemographyDataset(opts=opts)
FunctionsDataset(opts=opts)
...
Is there a better way to do this than my homemade AggregatorComponent
?steep-angle-29984
11/24/2020, 2:38 PMnarrow-area-20379
11/24/2020, 2:58 PMexport class CustomComponent extends pulumi.ComponentResource {
constructor(name, args, opts) {
super('pkg:CustomComponent', name, {}, opts)
const computeDefaultServiceAccount = await gcp.compute.getDefaultServiceAccount({project: projectId});
gcp.projects.IAMBinding('blah', { role: '', project: projectId, members: [`serviceAcccount:${computeDefaultServiceAccount.email}`]}
}
}
adamant-translator-31969
11/24/2020, 3:33 PMerror: aws:eks/cluster:Cluster resource 'resource' has a problem: Computed attribute cannot be set
crooked-lunch-83455
11/24/2020, 4:47 PMself.name
but I want the generated name. I am using python.