zlacker

[parent] [thread] 1 comments
1. lhuser+(OP)[view] [source] 2022-12-12 05:33:36
It sounds a lot similar to normal thinking errors that we make.
replies(1): >>scarfa+K3
2. scarfa+K3[view] [source] 2022-12-12 06:15:09
>>lhuser+(OP)
The second time, it gave me code that was almost right.

Just now I asked

Write a Python script that returns all of the accounts in an AWS organization with a given tag where the user specifies the tag key and value using command line arguments

I thought the code had to be wrong because it used concepts I had never heard of. This time it used the resource group API.

I have never heard of the API. But it does exist. I also couldn’t find sample code on the internet that did anything similar. But from looking at the documentation it should work. I learned something new today.

BTW, for context when I claimed to be a “subject matter expert” above, I work at AWS in Professional Services, code most days using the AWS API and I would have never thought of the solution it gave me.

[go to top]