Skip to content

Commit

Permalink
Still waiting on clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
omerosaienni committed Sep 10, 2024
1 parent 6d14fa1 commit 7ff1224
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/reference/config-files/connection/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar_label: aws
The `aws` connection can be used to access Amazon Web Services resources.

```hcl
connection "aws" "my_creds" {
connection "aws" "my_connection" {
profile = "aws-account-01"
}
```
Expand Down Expand Up @@ -61,6 +61,21 @@ connection "aws" "aws_profile" {
```

### Using AWS Connections in Container Step
<!-- NOTE: Waiting on clarification -->
```hcl
pipeline "ex1" {
param "connection" {
type = string
default = "default"
}
step "container" "aws" {
image = "public.ecr.aws/aws-cli/aws-cli"
cmd = [ "s3", "ls" ]
env = connection.aws[param.connection].env
}
}
```

```hcl
pipeline "ex1" {
Expand Down

0 comments on commit 7ff1224

Please sign in to comment.