turbot / flowpipe-mod-aws

AWS pipeline library for the Flowpipe cloud scripting engine. Automation and workflows to connect AWS to the people, systems and data that matters.
https://hub.flowpipe.io/mods/turbot/aws
Apache License 2.0
9 stars 1 forks source link

S3 bucket encryption pipeline does not work #69

Closed gcasilva closed 1 month ago

gcasilva commented 2 months ago

Describe the bug A clear and concise description of what the bug is. Flowpipe s3 bucket encryption pipeline (aws.pipeline.put_s3_bucket_encryption) isn't working we get an Error: Internal Error Bad Request: 'source' not found for function: aws.pipeline.put_s3_bucket_encryption.function.build_encryption_config

Flowpipe version (flowpipe -v) Flowpipe: v0.8.0 flowpipe-mod-aws: v0.4.0

To reproduce Steps to reproduce the behavior (please include relevant code and/or commands). Run a pipeline for s3 bucket encryption (aws.pipeline.put_s3_bucket_encryption)

Expected behavior A clear and concise description of what you expected to happen. Flowpipe to encrypt s3 bucket

Additional context Add any other context about the problem here. Possible fix:

pipelines/s3/put_s3_bucket_encryption.fp file looks for source function as "./pipelines/s3/functions/put_s3_bucket_encryption" but this path doesn't exist in the repo. The current path in the repo is pipelines/s3/functions/update_s3_bucket_encryption

misraved commented 1 month ago

Addressed in https://github.com/turbot/flowpipe-mod-aws/pull/68