[aws_cpi] fix resource_wait_spec