astonishing-quill-88807
09/04/2020, 6:37 PMenough-oil-63049
09/05/2020, 2:51 AMdamp-elephant-82829
09/05/2020, 9:26 AMdamp-elephant-82829
09/06/2020, 8:58 AMhelpful-country-51833
09/09/2020, 4:11 PMpulumi up
command. I would like it run it only when command is changed in pulumi code or dependent resource is changed. Any ideas?
• CopyFile is able to create a file on a remote system. However it doesn't update it upon local file update. How to update a remote file after the local file change?damp-elephant-82829
09/10/2020, 1:01 PMincalculable-dream-27508
09/11/2020, 5:22 PMdamp-elephant-82829
09/11/2020, 8:20 PMdamp-elephant-82829
09/11/2020, 8:20 PMastonishing-quill-88807
09/14/2020, 2:00 PMOutput.all(...).apply(...)
approach but instead got errors from deep in the Pulumi runtime about dicts not being callable...average-school-38756
09/16/2020, 7:32 PM.vscode/launch.json
looking like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Attach using Process ID",
"type": "python",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
i put this code at the beginning of my ___main___.py
, with a breakpoint as a sanity check (and i have a VS Code breakpoint on the same line):
import debugpy
debugpy.listen(5678)
debugpy.wait_for_client()
debugpy.breakpoint()
i run pulumi up
which shows this output (appears as though wait_for_client
is indeed working):
$ pulumi up
Previewing update (dev):
And i hit F5 to trigger the process attachment. i choose the process called "pulumi up" in the dialog. After ten seconds or so, i get a prompt in VS Code saying "Timed out waiting for debug server to connect."curved-waitress-45592
09/18/2020, 1:12 AMagreeable-toddler-25853
09/18/2020, 7:34 AMworried-plastic-45846
09/22/2020, 8:51 AMaws:codebuild:Project (develop-Codebuild-Project-build):
error: aws:codebuild/project:Project resource 'develop-Codebuild-Project-build' has a problem: Attribute must be a whole number, got 480
error: aws:codebuild/project:Project resource 'develop-Codebuild-Project-build' has a problem: Attribute must be a whole number, got 60
How do I know which attribute is causing an issue? Using -v does not provide a single error message, only debug.
In the entirety of the output, the number 60 and 480 do not appear at all.curved-cartoon-90054
09/22/2020, 10:16 PMsteps:
mkdir policypack && cd policypack
pulumi policy new aws-python
pulumi preview --policy-pack <path-to-policy-pack-directory>
clever-plumber-29709
09/23/2020, 5:11 AMhelpful-processor-86468
09/24/2020, 11:13 AMerror: Exception calling application: code() takes at most 15 arguments (16 given)
- this is what I'm getting when using dynamic resource when trying to do pulumi destroy
. It was working fine for some time and now it's broken without any code change. What is happening?curved-cartoon-90054
09/24/2020, 7:19 PMaverage-school-38756
09/25/2020, 9:24 PMpulumi preview
output? i ran pulumi preview --policy-pack my-pack --policy-pack-config my-config.json
, i see the pack named under "Policy Packs run", and i know report_violation("my message")
was executed because i stepped through it in the debugger. This is with a custom Python pack i started writing. Running against an AWSGuard TypeScript policy does show policy violations.shy-football-10348
09/30/2020, 2:59 AMalb_http_bucket_key = aws.kms.Key(
"jupyterhub-alb-http-bucket-key",
deletion_window_in_days=10,
description="This key is used to encrypt bucket objects",
)
alb_http_bucket = aws.s3.Bucket(
"jupyterhub-alb-http-logs",
server_side_encryption_configuration={
"rule": {
"applyServerSideEncryptionByDefault": {
"kms_master_key_id": alb_http_bucket_key.arn,
"sseAlgorithm": "aws:kms",
},
},
},
)
alb = aws.lb.LoadBalancer(
"jupyterhub-alb",
security_groups=[sgroup.id],
subnets=jupyterhub_priv_subnets,
internal=True,
access_logs=aws.lb.LoadBalancerAccessLogsArgs(
bucket=alb_http_bucket.bucket_domain_name,
enabled=True
)
)
The bit I cannot get right is the access_logs=
field. I directly referenced another function that has an example using the same data type that access_logs
requires and I still cant get it to work 😞shy-football-10348
09/30/2020, 2:59 AMagreeable-toddler-25853
09/30/2020, 3:00 AMnutritious-shampoo-16116
09/30/2020, 3:41 PM.apply
nutritious-shampoo-16116
09/30/2020, 3:42 PMpolite-pillow-78450
09/30/2020, 4:26 PMimport pulumi_aws as aws
cluster = aws.ecs.get_cluster(cluster_name=‘fargate’)
polite-pillow-78450
09/30/2020, 4:26 PMException: invocation of aws:ecs/getCluster:getCluster returned an error: required configuration keys were missing
polite-pillow-78450
09/30/2020, 4:26 PMpolite-pillow-78450
09/30/2020, 4:27 PMpulumi
and pulumi-aws
.polite-pillow-78450
09/30/2020, 4:27 PMfaint-table-42725
09/30/2020, 6:43 PMresult.settings
? Do you mind sharing a snippet of your code?faint-table-42725
09/30/2020, 6:43 PMresult.settings
? Do you mind sharing a snippet of your code?