aws-samples / aws-mgn-drs-init-automation

MIT No Attribution
0 stars 0 forks source link

Error running mgn initalise lambda #1

Open txsutton opened 2 weeks ago

txsutton commented 2 weeks ago

I am running the mgn initialise lambda and get the following error

[ERROR] ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
  File "/var/task/index.py", line 51, in lambda_handler
    stagingTags = convert_list_to_dict(tags)
  File "/var/task/index.py", line 12, in convert_list_to_dict
    k,v = tag.split(":", 1)
txsutton commented 2 weeks ago

I am running mgn-initalise as a separate cloudformation (IAM roles was previously created via a separate terraform script) and got the above error - I suspect tags are not optional.

txsutton commented 2 weeks ago

Also pReplicationSecurityGroupIds is mandatory which is a bit strange as I have the option of setting pCreateReplicationSecurityGroup