Reputation: 121
After several variations of template.json I have tried, I am still getting following error in AWS Cloudformation console:
Property validation failure: [Value of property {/Connections} does not match type {Object}]
Upvotes: 1
Views: 3263
Reputation: 29
The answer given by viethor is correct. But, in order make it more clear for beginners, below are further the details:
Syntax for CloudFormation Glue Job Connections
JSON Example:
"Connections": {
"Connections": [
"YourConnectionName"
]
}
YAML Example:
Connections:
Connections:
- YourConnectionName
Upvotes: 3
Reputation: 121
After debugging via boto3 in python
glue.get_job(JobName='your job')
we have found out that proper config is:
Connections:
Connections:
- 'YOUR_CONNECTION'
Upvotes: 11