Skip to content

Conversation

@lmarini
Copy link
Member

@lmarini lmarini commented Mar 7, 2025

Set AWS_IAM: True as an environment variable in docker compose to test.

@lmarini lmarini requested a review from max-zilla as a code owner March 7, 2025 21:24
…ing files.

Had only updated the dependencies that deal with pre-sigend URLs in S3.
@gopanairepa
Copy link

Tested the new AWS_IAM flag in AWS Fargate environment and it worked. IAM task role's permissions allowed the task to upload/download to/from S3 buckets. Here are the MINIO configs that were used as environment variables in the Fargate task.

{name="MINIO_SERVER_URL", value = "s3.us-east-1.amazonaws.com"},
{name="MINIO_EXTERNAL_SERVER_URL", value = "s3.us-east-1.amazonaws.com"},
{name="MINIO_BUCKET_NAME", value = var.clowder_s3_bucket},
{name="MINIO_SECURE", value = "True"},
{name="AWS_IAM", value = "True"},

@lmarini
Copy link
Member Author

lmarini commented Mar 14, 2025

Tested the new AWS_IAM flag in AWS Fargate environment and it worked. IAM task role's permissions allowed the task to upload/download to/from S3 buckets. Here are the MINIO configs that were used as environment variables in the Fargate task.

{name="MINIO_SERVER_URL", value = "s3.us-east-1.amazonaws.com"}, {name="MINIO_EXTERNAL_SERVER_URL", value = "s3.us-east-1.amazonaws.com"}, {name="MINIO_BUCKET_NAME", value = var.clowder_s3_bucket}, {name="MINIO_SECURE", value = "True"}, {name="AWS_IAM", value = "True"},

Thanks @gopanairepa !

@lmarini lmarini merged commit e5e8dc2 into main Mar 14, 2025
6 checks passed
@lmarini lmarini deleted the feature/aws_iam branch March 14, 2025 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants