我想将"profile“中的第一行迭代到"arn”中的第一行,然后将第二行"profile“迭代到"arn”中的第二行,将"profile“中的第三行迭代到"arn”中的第三行。 但我的脚本检查配置文件中的第一个,并循环"arn“文件中的所有内容。完成后,它将转到"profile“中的下一行,并循环"arn”中的所有内容。 #!/bin/bash
for profile in `cat ../../.aws/config|grep 'profile'`
do
for arn in `ca
这是我的密码
async function checksubsdetails() {
try {
let update_data = [];
db_office.query(
`SELECT arn_no,arn_id,cams_email from no_of_arn WHERE cams_email !=''`,
async (err, arn_rows) => {
if (err) throw err;
for (let inx of arn_rows) {
// co
我想要创建一个terraform的iam_policy_arn_list,其中列表由现有AWS策略的"FullAccess“arns和我动态创建的策略的arn组成。(我正在尝试创建一个Lambda函数,它只能读取/写入指定的桶。)如果我只使用现有的策略,那么在我的设置中有以下内容:
variable "iam_policy_arn_list" {
type = list(string)
description = "IAM Policies to be attached to role"
default = [
"
我试图为生成打字稿,以便在我的角度项目中使用它。我已经生成了一个.d.ts文件,但是仍然得到了错误:TypeError: (new link2aws__WEBPACK_IMPORTED_MODULE_1__.ARN(...)).consoleLink is not a function。
我从ARN中导入link2aws,如下所示:
import { ARN } from 'link2aws';
并这样称呼它:
arn = 'arn:aws:...'
let link = new ARN(arn).consoleLink();
link2aws.d.ts
//