sparse-intern-71089
01/18/2021, 12:24 AMswift-monitor-84282
01/18/2021, 12:29 AMswift-monitor-84282
01/18/2021, 12:31 AMconst current = aws.iam.getAccountAlias({});
const accountId = current.then(current => current.accountAlias);
This actually might solve the account id problemlittle-cartoon-10569
01/18/2021, 12:31 AMlittle-cartoon-10569
01/18/2021, 12:32 AMswift-monitor-84282
01/18/2021, 12:40 AMswift-monitor-84282
01/18/2021, 12:56 AM`${this.globalPrefix}-queue-${STACK}`
Where STACK is pulumi.getStack().
The problem is that Pulumi is automatically appending a small hash after this name, giving me something like this in the end: "TESTS-queue-dev-a27c3a0"swift-monitor-84282
01/18/2021, 12:57 AMlittle-cartoon-10569
01/18/2021, 12:58 AMlittle-cartoon-10569
01/18/2021, 1:02 AMname
property, that will include the random bit.swift-monitor-84282
01/18/2021, 1:04 AMlittle-cartoon-10569
01/18/2021, 1:05 AMname
part is just the last part of the path. The full URL is <https://sqs>.<region>.<http://amazonaws.com/|amazonaws.com/><accountid>/<queue_name>
little-cartoon-10569
01/18/2021, 1:07 AMswift-monitor-84282
01/18/2021, 1:10 AM