Skip to content

Instantly share code, notes, and snippets.

@teochenglim
teochenglim / shell_script_forloop_list_elements.sh
Last active February 8, 2024 01:24
Shell script list of elements in for loop
```shell
#!/bin/bash
str=(
"a1:a2:a3:a4:a5"
"b1:b2:b3:b4:b5"
"c1:c2:c3:c4:c5"
"d1:d2:d3:d4:d5"
"e1:e2:e3:e4:e5"
"f1:f2:f3:f4:f5"
provider "aws" {
region = "ap-southeast-1"
skip_credentials_validation = true
skip_requesting_account_id = true
skip_metadata_api_check = true
s3_use_path_style = true
access_key = "mock_access_key"
secret_key = "mock_secret_key"
}