Why does `awsinfra.Cluster` create an S3 bucket?
# general
h
Why does
awsinfra.Cluster
create an S3 bucket?
s
Off the top of my head I would guess flow logging
h
What is flow logging? If you have a link ...
(AWS n00b)
s
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
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)