Commit 374cf3bd authored by Cyril Plisko's avatar Cyril Plisko

cfn-lint: W3010 Don't hardcode for AvailabilityZones

parent 0228d686
Pipeline #103760533 passed with stage
in 2 minutes and 47 seconds
......@@ -17,6 +17,6 @@ rustfmt:
cargo fmt --all -- --check
check: rustfmt update test clippy
lint:
cargo run --example ec2 > ec2
cfn-lint ec2
rm -f ec2
cargo run --example json > template.json
cfn-lint template.json
rm -f template.json
......@@ -55,6 +55,7 @@ pub struct Instance {
additional_info: String,
#[serde(skip_serializing_if = "Affinity::is_default")]
affinity: Affinity,
#[serde(skip_serializing_if = "String::is_empty")]
availability_zone: String,
block_device_mappings: Vec<BlockDeviceMapping>,
#[serde(skip_serializing_if = "CpuOptions::is_default")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment