enough-butcher-66045
12/31/2020, 12:30 AM- task: Pulumi@1
inputs:
azureSubscription: 'Test (bla-bla)'
command: "up"
cwd: "MyProject.Infrastructure/"
stack: 'dev'
args: '--yes'
- script:
echo "##vso[task.setvariable variable=test;isOutput=true]$(pulumi stack output test)"
displayName: 'Set stack outputs as variables'
name: 'pulumi'
- bash: |
echo "Using an input-macro works: $(test)"
Hi peeps, a question. If I run pulumi stack output test
it gives me the output I'm expecting, and I can see in the logs that the pulumi outputs are correctly being registeredenough-butcher-66045
12/31/2020, 12:31 AMenough-butcher-66045
12/31/2020, 12:31 AMenough-butcher-66045
12/31/2020, 1:52 AMcurved-waitress-45592
01/01/2021, 1:41 AMPersistentVolumeClaim
object and then refer its name in another object (a CronJob
)curved-waitress-45592
01/01/2021, 1:42 AMresource_name
I used because Pulumi changes names... which is fine. But how to get the name? I the .id
field of the resource almost get me there but it includes the namespace in there. I just want the "new" name.curved-waitress-45592
01/01/2021, 1:52 AM--cache-from
argument when calling docker build .
. We'd usually do something like --cache-from=<http://registry.com/dir/image:latest|registry.com/dir/image:latest>
and then update the latest tag to the newly built and pushed image.curved-waitress-45592
01/01/2021, 1:53 AMclass Image(pulumi.ComponentResource)
curved-waitress-45592
01/01/2021, 1:53 AMcurved-waitress-45592
01/01/2021, 1:55 AMbright-printer-59109
01/03/2021, 1:36 PMfull-dress-10026
01/03/2021, 11:40 PMaws:ecs:TaskDefinition
on every up
run even though nothing has changed. Looking at the diff output for the containerDefinitions parameter on the TaskDefinition, I can see the only difference is on both my containers, mountPoints
, portMappings
, user
, and volumesFrom
currently exist as empty arrays (except user which is "0"
) and do not exist in the desired TaskDefinition. I am not setting these properties.jolly-lunch-12979
01/04/2021, 12:33 PM--show-reads
property not work correctly for diffs? Whenever I do a preview --diff
it shows reads without that flag set.cuddly-xylophone-65881
01/04/2021, 12:45 PMswift-hamburger-98290
01/04/2021, 5:11 PMResourceTransformations
(dotnet azure sdk)? Thanksimportant-appointment-55126
01/04/2021, 5:21 PMCertificateValidation
resource to be used in a Depends
later in the program so that the Cloudfront CDN isn’t created before validation is complete…
s.cert.DomainValidationOptions.ApplyT(func(opts []acm.CertificateDomainValidationOption) (*acm.CertificateValidation, error) {
var fqdns pulumi.StringArray
for i, opt := range opts {
certValidationDomain, err := route53.NewRecord(ctx, fmt.Sprintf("%s-%d-validation", s.hostname, i), &route53.RecordArgs{
Name: pulumi.String(*opt.ResourceRecordName),
Type: pulumi.String(*opt.ResourceRecordType),
Records: pulumi.StringArray{pulumi.String(*opt.ResourceRecordValue)},
ZoneId: s.zoneId, // zone.ID(),
Ttl: <http://pulumi.Int|pulumi.Int>(600),
})
if err != nil {
return nil, fmt.Errorf("create route53 validation record failed: %v", err)
}
fqdns = append(fqdns, certValidationDomain.Fqdn)
}
return acm.NewCertificateValidation(ctx, "certValidation", &acm.CertificateValidationArgs{
CertificateArn: s.cert.Arn,
ValidationRecordFqdns: fqdns,
}, pulumi.Provider(s.usEast1))
})
important-appointment-55126
01/04/2021, 6:30 PMCertificateArn
but ApplyString
converts that StringOutput
to an AnyOutput
it appears, which i can’t then use as the input for creating the distributionastonishing-quill-88807
01/04/2021, 7:23 PMdelete_before_replace
but Pulumi seems to be ignoring that advice and still trying to create the resource before deleting the original. In this case it's a Vault Mount that is part of a component resource. I've tried passing the resource options to the entire component, and to just the Mount resource with no luck.astonishing-quill-88807
01/04/2021, 7:37 PMstraight-librarian-43739
01/04/2021, 8:43 PMawsx
object when all you have is the aws
version, without creating any extraneous resources? For example I have an ecs Cluster (created via aws
) that I wanted to use as the cluster for a Fargate service created using the awsx
modules, but when I do a new awsx.ecs.Cluster
and pass in the existing cluster
as an argument, Pulumi creates some extra security groupsbumpy-motorcycle-53357
01/04/2021, 9:06 PMloud-shampoo-49194
01/05/2021, 7:37 AMpulumi config set
seems to sort my yaml file - is there any way to turn that behavior off? I prefer logical grouping for a structured config over alphabetical order. I have a few encrypted secrets which I set through the console while config values are added manually with a logical grouping.aloof-hamburger-47707
01/05/2021, 9:43 AMazure-nextgen:eventgrid/v20200101preview:EventSubscription (EventSubscription):
error: Code="InvalidRequest" Message="This event subscription operation is not supported using this API call. Please use the proper API and try again."
Help!thousands-london-78260
01/05/2021, 11:00 AMelegant-window-55250
01/05/2021, 2:10 PMelegant-window-55250
01/05/2021, 4:00 PMpulumi/docker
, and can't find a way to skip building a Dockerfile. In my use-case; I have a mono-repo with 10+ Dockerfiles, and most builds they don't have any changes, therefore I would like to skip building them. I've been looking at the documentation, but haven't been able to find a way to introduce that. Wondering if context
variable is what I should use, or if its even supported?clever-plumber-29709
01/05/2021, 7:36 PMpulumi import
cli command, i think the docs can be improved a bit. The usage is pulumi import [type] [name] [id] [flags]
but only the flags are explained, is not said anywhere what type
means, or how can you know what is the type you are supposed to use for some specific resource or where you can found it. And the others, name, and id, are more intuitive, but still the docs say nothing about them
Also i saw that some resoucerces, like aws. now include a section with the proper cli command for import them ,but others like github, don't have it.
I was specifically looking to import a github repo, but was unable to find how.many-spring-73557
01/05/2021, 9:47 PMgcp.logging.ProjectBucketConfig
but I don’t see a way to create Logging Buckets - only gcp.storage.Bucket
wet-noon-14291
01/05/2021, 11:14 PMpulumi stack ls -a
not returning all the stacks? I'm using azure as backend at the moment and running that command only returns two out of many more stacks. This is run inside a docker container (which I can explain why if needed) with the environment variables to login set from the current shell. Running the same command outside docker returns the expected result.clever-plumber-29709
01/06/2021, 12:35 AMresourceB = PulumiResource(Output.concat(resourceA.name, "-something"), other_paramethers...)
but on the preview it apprear as:
Name
<pulumi.output.Output object at 0x7f6fde8f8b80>-something
Haven't been able to test, if in the actual execution it will be interpreted or notclever-plumber-29709
01/06/2021, 12:35 AMresourceB = PulumiResource(Output.concat(resourceA.name, "-something"), other_paramethers...)
but on the preview it apprear as:
Name
<pulumi.output.Output object at 0x7f6fde8f8b80>-something
Haven't been able to test, if in the actual execution it will be interpreted or notgentle-diamond-70147
01/06/2021, 12:40 AM