https://pulumi.com logo
#general
Title
# general
h

hundreds-musician-51496

10/25/2018, 4:53 PM
Why does
awsinfra.Cluster
create an S3 bucket?
s

stocky-spoon-28903

10/25/2018, 5:01 PM
Off the top of my head I would guess flow logging
h

hundreds-musician-51496

10/25/2018, 5:05 PM
What is flow logging? If you have a link ...
(AWS n00b)
s

stocky-spoon-28903

10/25/2018, 5:10 PM
I just checked, and there is nothing in the component which should be creating an S3 bucket as far as I can see: https://github.com/pulumi/pulumi-aws-infra/blob/master/nodejs/aws-infra/network.ts
Could it be coming from elsewhere in your code?
(Unlikely to be this, but since you asked, a link to the flow logs bits: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html)
h

hundreds-musician-51496

10/25/2018, 5:13 PM
but thank you fro link
ahh it's due to the
maxSize
parameter:
Copy code
new awsinfra.Cluster(createNameWithStackInfo("dashboard-server"), {
  network: network,
  maxSize: 2,
  addEFS: false,
});
(https://github.com/pulumi/pulumi-aws-infra/blob/master/nodejs/aws-infra/cluster.ts#L222)