remove extra "=" from test config
This commit is contained in:
parent
950950ff4b
commit
5b5641208e
|
@ -172,12 +172,12 @@ resource "aws_elastictranscoder_pipeline" "bar" {
|
||||||
name = "aws_elastictranscoder_pipeline_tf_test_"
|
name = "aws_elastictranscoder_pipeline_tf_test_"
|
||||||
role = "${aws_iam_role.test_role.arn}"
|
role = "${aws_iam_role.test_role.arn}"
|
||||||
|
|
||||||
content_config = {
|
content_config {
|
||||||
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
||||||
storage_class = "Standard"
|
storage_class = "Standard"
|
||||||
}
|
}
|
||||||
|
|
||||||
thumbnail_config = {
|
thumbnail_config {
|
||||||
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
||||||
storage_class = "Standard"
|
storage_class = "Standard"
|
||||||
}
|
}
|
||||||
|
@ -225,12 +225,12 @@ resource "aws_elastictranscoder_pipeline" "bar" {
|
||||||
name = "aws_elastictranscoder_pipeline_tf_test_"
|
name = "aws_elastictranscoder_pipeline_tf_test_"
|
||||||
role = "${aws_iam_role.test_role.arn}"
|
role = "${aws_iam_role.test_role.arn}"
|
||||||
|
|
||||||
content_config = {
|
content_config {
|
||||||
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
||||||
storage_class = "Standard"
|
storage_class = "Standard"
|
||||||
}
|
}
|
||||||
|
|
||||||
thumbnail_config = {
|
thumbnail_config {
|
||||||
bucket = "${aws_s3_bucket.thumb_bucket.bucket}"
|
bucket = "${aws_s3_bucket.thumb_bucket.bucket}"
|
||||||
storage_class = "Standard"
|
storage_class = "Standard"
|
||||||
}
|
}
|
||||||
|
@ -278,7 +278,7 @@ resource "aws_elastictranscoder_pipeline" "baz" {
|
||||||
name = "aws_elastictranscoder_pipeline_tf_test_"
|
name = "aws_elastictranscoder_pipeline_tf_test_"
|
||||||
role = "${aws_iam_role.test_role.arn}"
|
role = "${aws_iam_role.test_role.arn}"
|
||||||
|
|
||||||
content_config = {
|
content_config {
|
||||||
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
||||||
storage_class = "Standard"
|
storage_class = "Standard"
|
||||||
}
|
}
|
||||||
|
@ -289,7 +289,7 @@ resource "aws_elastictranscoder_pipeline" "baz" {
|
||||||
access = ["FullControl"]
|
access = ["FullControl"]
|
||||||
}
|
}
|
||||||
|
|
||||||
thumbnail_config = {
|
thumbnail_config {
|
||||||
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
bucket = "${aws_s3_bucket.content_bucket.bucket}"
|
||||||
storage_class = "Standard"
|
storage_class = "Standard"
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,7 +117,7 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
description = "elastic transcoder preset test 1"
|
description = "elastic transcoder preset test 1"
|
||||||
name = "aws_elastictranscoder_preset_tf_test_"
|
name = "aws_elastictranscoder_preset_tf_test_"
|
||||||
|
|
||||||
audio = {
|
audio {
|
||||||
audio_packing_mode = "SingleTrack"
|
audio_packing_mode = "SingleTrack"
|
||||||
bit_rate = 320
|
bit_rate = 320
|
||||||
channels = 2
|
channels = 2
|
||||||
|
@ -133,7 +133,7 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
description = "elastic transcoder preset test 2"
|
description = "elastic transcoder preset test 2"
|
||||||
name = "aws_elastictranscoder_preset_tf_test_"
|
name = "aws_elastictranscoder_preset_tf_test_"
|
||||||
|
|
||||||
audio = {
|
audio {
|
||||||
audio_packing_mode = "SingleTrack"
|
audio_packing_mode = "SingleTrack"
|
||||||
bit_rate = 128
|
bit_rate = 128
|
||||||
channels = 2
|
channels = 2
|
||||||
|
@ -141,11 +141,11 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
sample_rate = 48000
|
sample_rate = 48000
|
||||||
}
|
}
|
||||||
|
|
||||||
audio_codec_options = {
|
audio_codec_options {
|
||||||
profile = "auto"
|
profile = "auto"
|
||||||
}
|
}
|
||||||
|
|
||||||
video = {
|
video {
|
||||||
bit_rate = "auto"
|
bit_rate = "auto"
|
||||||
codec = "H.264"
|
codec = "H.264"
|
||||||
display_aspect_ratio = "16:9"
|
display_aspect_ratio = "16:9"
|
||||||
|
@ -158,13 +158,13 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
sizing_policy = "Fit"
|
sizing_policy = "Fit"
|
||||||
}
|
}
|
||||||
|
|
||||||
video_codec_options = {
|
video_codec_options {
|
||||||
Profile = "main"
|
Profile = "main"
|
||||||
Level = "4.1"
|
Level = "4.1"
|
||||||
MaxReferenceFrames = 4
|
MaxReferenceFrames = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
thumbnails = {
|
thumbnails {
|
||||||
format = "jpg"
|
format = "jpg"
|
||||||
interval = 5
|
interval = 5
|
||||||
max_width = 960
|
max_width = 960
|
||||||
|
@ -181,7 +181,7 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
description = "elastic transcoder preset test 3"
|
description = "elastic transcoder preset test 3"
|
||||||
name = "aws_elastictranscoder_preset_tf_test_"
|
name = "aws_elastictranscoder_preset_tf_test_"
|
||||||
|
|
||||||
audio = {
|
audio {
|
||||||
audio_packing_mode = "SingleTrack"
|
audio_packing_mode = "SingleTrack"
|
||||||
bit_rate = 96
|
bit_rate = 96
|
||||||
channels = 2
|
channels = 2
|
||||||
|
@ -189,11 +189,11 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
sample_rate = 44100
|
sample_rate = 44100
|
||||||
}
|
}
|
||||||
|
|
||||||
audio_codec_options = {
|
audio_codec_options {
|
||||||
profile = "AAC-LC"
|
profile = "AAC-LC"
|
||||||
}
|
}
|
||||||
|
|
||||||
video = {
|
video {
|
||||||
bit_rate = "1600"
|
bit_rate = "1600"
|
||||||
codec = "H.264"
|
codec = "H.264"
|
||||||
display_aspect_ratio = "16:9"
|
display_aspect_ratio = "16:9"
|
||||||
|
@ -207,7 +207,7 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
sizing_policy = "Fit"
|
sizing_policy = "Fit"
|
||||||
}
|
}
|
||||||
|
|
||||||
video_codec_options = {
|
video_codec_options {
|
||||||
Profile = "main"
|
Profile = "main"
|
||||||
Level = "2.2"
|
Level = "2.2"
|
||||||
MaxReferenceFrames = 3
|
MaxReferenceFrames = 3
|
||||||
|
@ -215,7 +215,7 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
ColorSpaceConversionMode = "None"
|
ColorSpaceConversionMode = "None"
|
||||||
}
|
}
|
||||||
|
|
||||||
video_watermarks = {
|
video_watermarks {
|
||||||
id = "Terraform Test"
|
id = "Terraform Test"
|
||||||
max_width = "20%"
|
max_width = "20%"
|
||||||
max_height = "20%"
|
max_height = "20%"
|
||||||
|
@ -228,7 +228,7 @@ resource "aws_elastictranscoder_preset" "bar" {
|
||||||
target = "Content"
|
target = "Content"
|
||||||
}
|
}
|
||||||
|
|
||||||
thumbnails = {
|
thumbnails {
|
||||||
format = "png"
|
format = "png"
|
||||||
interval = 120
|
interval = 120
|
||||||
max_width = "auto"
|
max_width = "auto"
|
||||||
|
|
Loading…
Reference in New Issue