Closed kyrylo-hulak closed 1 year ago
Hey @kyrylo-hulak !
Thank you for bringing us this issue. I have created a backlog item and will discuss with the team!
thank you, @hanafya! I will look forward to hearing from you!
please, @balltrev, @hanafya Is there any updates? thank you!
Hi @kyrylo-hulak,
These s3 paths are created automatically by CodePipeline when a new pipeline is created, and based on the documentation unfortunately I don't believe we can change the path at which they are generated.
"You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. "
@stumins, Am I correctly understood that those name folders were created by CodePipeline service and there is a little we can do to fix that? It's interesting thing that it only affects aft-management-account
customization pipeline. As those buckets and folders included are provided properly without clipping for AWS accounts different from aforementioned. I could think of some limitations reached for the name of folder but it varies and can't be aligned to that. So, it looks as a bug. As that not something that I provide manually. It's made by the AFT terraform code and Service leveraged.
Yes, The {account-id}-customi/
paths within the aft-customizations-pipeline-{aft-management-account-id}
bucket are created by CodePipeline automatically and hold the artifacts used by the "Source" stage of each customization pipeline. If you explore these account-specific paths you will find zip archives containing the source code files used in each pipeline execution.
The output artifact of this action is a ZIP file that contains the contents of the configured repository and branch at the commit specified as the source revision for the pipeline execution.
These paths are created for all accounts with customization pipelines, not just the AFT management account (though if you enroll the AFT management account with AFT, you will see a {aft-management-account-id}-customi/
path get created). AFT does not create those paths and CodePipeline does not provide a way to customize how these paths are named.
thank you, @stumins for your detailed explanation! I think the question is answered. And, the issue could be closed.
AFT Version: 1.5.1
Terraform Version & Provider Versions Please provide the outputs of
terraform version
andterraform providers
from within your AFT environmentterraform version
terraform providers
Bug Description Folder names are clipped inside the S3 bucket aft-customizations-pipeline-aft-management-account-id
To Reproduce Steps to reproduce the behavior:
S3
aft-customizations-pipeline-*************
, where ** is aft-management-account-idExpected behavior The folder names are properly named without clipped words.