Change 'image' for 'volume' when getting tags
The AWS docs say that: "Currently, the resource types that support tagging on creation are instance and volume." Calling `create_volume` and passing `image` as the resource type in tag specifications causes an `InvalidParameterValue` error.
This commit is contained in:
parent
4520cd930f
commit
3ce57644cd
2 changed files with 2 additions and 2 deletions
|
|
@ -397,7 +397,7 @@ def test_create_volume_with_tags():
|
|||
Size=40,
|
||||
TagSpecifications=[
|
||||
{
|
||||
'ResourceType': 'image',
|
||||
'ResourceType': 'volume',
|
||||
'Tags': [
|
||||
{
|
||||
'Key': 'TEST_TAG',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue