aws / aws/aws-toolkit-azure-devops

Error running Running Terraform using AWSShellScript@1

Open
#576 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

**In AWSShellScript Task, we are running terraform script. In which 1 resource is used which is mentioned below. It is giving error.
Other terraform resources are running fine, only this resource is giving the error. OIDC connection has been used in the pipeline**

resource "null_resource" "test" {
provisioner "local-exec" {
command = "aws s3 ls"
}
}

Error:
Error running command ' aws s3 ls

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Azure DevOps AWSShellScript@1 pipeline with the shown Terraform null_resource and its local-exec command. Capture the complete error and compare this resource's credential and execution context with the Terraform resources that succeed; done means identifying and fixing or clearly documenting the cause of the failed aws s3 ls command.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, terraform
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.