|
|
|
|
|
by scarface74
1279 days ago
|
|
I’ll give you that, I once asked it write a Python script that lists all of the accounts in an AWS organization with a given tag key and value. It confidently, initiated the SDK (boto3) and the correct object on the SDK (Organizations) and then it called a none existent function - “get_accounts_by_tag”. The next day I asked it the same question and it got it right using a technique that I would have never thought of. On the other hand, I asked it “given the following XML file and a DynamoDB table with the following fields, write a Python script that replaces the value node in the file where a corresponding key is found in the table with the value in the value field”. The code was perfect. |
|