skip to Main Content

Files Uploaded to S3 do not open

I was developing nodejs api to upload file to my AWS s3. I followed some online articles and using the code below. The files (images/word/pdf) get successfully uploaded to s3. However they do not open. Or give error when downloading…

VIEW QUESTION

Avoiding hardcode aws role on circleCi config.yml

I have below circleCi config.yml file where the value of role-arn is hardcode orbs: aws-cli: circleci/[email protected] jobs: aws-cli-example: docker: - image: cimg/python:3.11.0-node working_directory: ~/workspace environment: AWS_REGION: 'us-east-1' executor: aws-cli/default steps: - checkout - aws-cli/setup: role-arn: 'arn:aws:I am::<aws_account_id>:role/circleci_role' - run: name:…

VIEW QUESTION

CloudFormation claims KMS policy statement principals are invalid

I have the following SAM template: AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: > test lambda Globals: Function: Timeout: 3 Tracing: Active Api: TracingEnabled: True Resources: NotesFunction: Type: AWS::Serverless::Function Properties: PackageType: Zip CodeUri: notes/ Handler: app.lambdaHandler Runtime: nodejs18.x Policies: - AmazonDynamoDBFullAccess Architectures:…

VIEW QUESTION

Terraform Output via Jenkins

I'm unable to find vpc_id and public_subnet.0 in a terraform my-vpc output. Every single time when I put below command: ansible-playbook playbook1.yml -e "vpc_id=$(terraform output my-vpc.vpc_id) vpc_subnet_id=$(terraform output my-vpc.public_subnets.0)" -vvv But it prints terraform output my-vpc -bash-4.2$ terraform output my-vpc…

VIEW QUESTION
Back To Top
Search