Repository: chanzuckerberg/fogg
Pull request #408 (2020-02-25 19:15:50)

[feature] add datadog provider
### Summary
This PR enables adding datadog provider.

We need to set DATADOG_APP_KEY and DATADOG_API_KEY environment variables.
It cannot pin versions currently.

### Test Plan
1. unittests.
2. tested in local repo.

codecov[bot]: # [Codecov](https://codecov.io/gh/chanzuckerberg/fogg/pull/408?src=pr&el=h1) Report
> Merging [#408](https://codecov.io/gh/chanzuckerberg/fogg/pull/408?src=pr&el=desc) into [master](https://codecov.io/gh/chanzuckerberg/fogg/commit/53808dd9174f9c5803dca38ea6e44e9767d82a86?src=pr&el=desc) will **increase** coverage by `0.19%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/chanzuckerberg/fogg/pull/408/graphs/tree.svg?width=650&token=57DhtZ7g2A&height=150&src=pr)](https://codecov.io/gh/chanzuckerberg/fogg/pull/408?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master     #408      +/-   ##
==========================================
+ Coverage   78.15%   78.34%   +0.19%     
==========================================
  Files          24       24              
  Lines        1909     1926      +17     
==========================================
+ Hits         1492     1509      +17     
  Misses        276      276              
  Partials      141      141
```


| [Impacted Files](https://codecov.io/gh/chanzuckerberg/fogg/pull/408?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [plan/plan.go](https://codecov.io/gh/chanzuckerberg/fogg/pull/408/diff?src=pr&el=tree#diff-cGxhbi9wbGFuLmdv) | `92.95% <100%> (+0.15%)` | :arrow_up: |
| [config/v2/config.go](https://codecov.io/gh/chanzuckerberg/fogg/pull/408/diff?src=pr&el=tree#diff-Y29uZmlnL3YyL2NvbmZpZy5nbw==) | `96.99% <100%> (+0.11%)` | :arrow_up: |
| [config/v2/resolvers.go](https://codecov.io/gh/chanzuckerberg/fogg/pull/408/diff?src=pr&el=tree#diff-Y29uZmlnL3YyL3Jlc29sdmVycy5nbw==) | `95.27% <100%> (+0.12%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/chanzuckerberg/fogg/pull/408?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/chanzuckerberg/fogg/pull/408?src=pr&el=footer). Last update [53808dd...e57e5a1](https://codecov.io/gh/chanzuckerberg/fogg/pull/408?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


Patch:
diff --git a/config/v2/config.go b/config/v2/config.go
index 3e45ad3f..9eabd7cd 100644
--- a/config/v2/config.go
+++ b/config/v2/config.go
@@ -100,6 +100,7 @@ type Providers struct {
 	Heroku    *HerokuProvider    `json:"heroku,omitempty" yaml:"heroku,omitempty"`
 	Okta      *OktaProvider      `json:"okta,omitempty" yaml:"okta,omitempty"`
 	Snowflake *SnowflakeProvider `json:"snowflake,omitempty" yaml:"snowflake,omitempty"`
+	Datadog   *DatadogProvider   `json:"datadog,omitempty" yaml:"datadog,omitempty"`
 }
 
 // OktaProvider is an okta provider
@@ -142,6 +143,8 @@ type SnowflakeProvider struct {
 
 type HerokuProvider struct{}
 
+type DatadogProvider struct{}
+
 type Backend struct {
 	AccountID   *string `json:"account_id,omitempty" yaml:"account_id,omitempty"`
 	Bucket      *string `json:"bucket,omitempty" yaml:"bucket,omitempty"`
@@ -249,6 +252,13 @@ func (c *Config) Generate(r *rand.Rand, size int) reflect.Value {
 		return nil
 	}
 
+	randDatadogProvider := func(r *rand.Rand, s int) *DatadogProvider {
+		if r.Float32() < 0.5 {
+			return &DatadogProvider{}
+		}
+		return nil
+	}
+
 	randCommon := func(r *rand.Rand, s int) Common {
 		c := Common{
 			Backend: &Backend{
@@ -264,6 +274,7 @@ func (c *Config) Generate(r *rand.Rand, size int) reflect.Value {
 				Okta:      randOktaProvider(r, s),
 				Bless:     randBlessProvider(r, s),
 				Heroku:    randHerokuProvider(r, s),
+				Datadog:   randDatadogProvider(r, s),
 			},
 			TerraformVersion: randStringPtr(r, s),
 		}
diff --git a/config/v2/resolvers.go b/config/v2/resolvers.go
index ae7fafe9..4930bd5a 100644
--- a/config/v2/resolvers.go
+++ b/config/v2/resolvers.go
@@ -193,6 +193,18 @@ func ResolveHerokuProvider(commons ...Common) *HerokuProvider {
 	return p
 }
 
+func ResolveDatadogProvider(commons ...Common) *DatadogProvider {
+	var p *DatadogProvider
+	for _, c := range commons {
+		if c.Providers == nil || c.Providers.Datadog == nil {
+			continue
+		}
+		p = c.Providers.Datadog
+	}
+
+	return p
+}
+
 func ResolveTfLint(commons ...Common) v1.TfLint {
 	enabled := false
 	for _, c := range commons {
diff --git a/plan/plan.go b/plan/plan.go
index a95282fc..9ea8a55b 100644
--- a/plan/plan.go
+++ b/plan/plan.go
@@ -111,6 +111,7 @@ type Providers struct {
 	Snowflake *SnowflakeProvider `yaml:"snowflake"`
 	Bless     *BlessProvider     `yaml:"bless"`
 	Okta      *OktaProvider      `yaml:"okta"`
+	Datadog   *DatadogProvider   `yaml:"datadog"`
 }
 
 //AWSProvider represents AWS provider configuration
@@ -153,6 +154,8 @@ type BlessProvider struct {
 
 type HerokuProvider struct{}
 
+type DatadogProvider struct{}
+
 // AWSBackend represents aws backend configuration
 type AWSBackend struct {
 	AccountID   *string `yaml:"account_id,omitempty"`
@@ -397,6 +400,12 @@ func resolveComponentCommon(commons ...v2.Common) ComponentCommon {
 		herokuPlan = &HerokuProvider{}
 	}
 
+	var datadogPlan *DatadogProvider
+	datadogConfig := v2.ResolveDatadogProvider(commons...)
+	if datadogConfig != nil {
+		datadogPlan = &DatadogProvider{}
+	}
+
 	tflintConfig := v2.ResolveTfLint(commons...)
 
 	tfLintPlan := TfLint{
@@ -446,6 +455,7 @@ func resolveComponentCommon(commons ...v2.Common) ComponentCommon {
 			Snowflake: snowflakePlan,
 			Bless:     blessPlan,
 			Okta:      oktaPlan,
+			Datadog:   datadogPlan,
 		},
 		TfLint:    tfLintPlan,
 		ExtraVars: v2.ResolveStringMap(v2.ExtraVarsGetter, commons...),
diff --git a/templates/account/fogg.tf.tmpl b/templates/account/fogg.tf.tmpl
index d2b4591c..a729d8ba 100644
--- a/templates/account/fogg.tf.tmpl
+++ b/templates/account/fogg.tf.tmpl
@@ -43,6 +43,10 @@
   {{ template "heroku_provider" .Providers.Heroku }}
 {{ end }}
 
+{{ if .Providers.Datadog }}
+  {{ template "datadog_provider" .Providers.Datadog }}
+{{ end }}
+
 terraform {
   required_version = "={{ .TerraformVersion }}"
 
diff --git a/templates/common/datadog_provider.tmpl b/templates/common/datadog_provider.tmpl
new file mode 100644
index 00000000..ef4865cc
--- /dev/null
+++ b/templates/common/datadog_provider.tmpl
@@ -0,0 +1,4 @@
+{{define "datadog_provider"}}
+provider "datadog" {
+}
+{{ end }}
diff --git a/templates/component/terraform/fogg.tf.tmpl b/templates/component/terraform/fogg.tf.tmpl
index 4c322b86..533dd6e3 100644
--- a/templates/component/terraform/fogg.tf.tmpl
+++ b/templates/component/terraform/fogg.tf.tmpl
@@ -43,6 +43,10 @@
   {{ template "heroku_provider" .Providers.Heroku }}
 {{ end }}
 
+{{ if .Providers.Datadog }}
+  {{ template "datadog_provider" .Providers.Datadog }}
+{{ end }}
+
 terraform {
   required_version = "~>{{ .TerraformVersion }}"
 
diff --git a/templates/global/fogg.tf.tmpl b/templates/global/fogg.tf.tmpl
index 5b2cb055..edece059 100644
--- a/templates/global/fogg.tf.tmpl
+++ b/templates/global/fogg.tf.tmpl
@@ -42,6 +42,10 @@
   {{ template "heroku_provider" .Providers.Heroku }}
 {{ end }}
 
+{{ if .Providers.Datadog }}
+  {{ template "datadog_provider" .Providers.Datadog }}
+{{ end }}
+
 
 terraform {
   required_version = "~>{{ .TerraformVersion }}"


Test patch:
diff --git a/plan/plan_test.go b/plan/plan_test.go
index 5f3b95ff..93b0cd08 100644
--- a/plan/plan_test.go
+++ b/plan/plan_test.go
@@ -201,6 +201,11 @@ func TestPlanBasicV2Yaml(t *testing.T) {
 	assert.NotNil(t, plan.Envs["prod"].Components["hero"])
 	assert.NotNil(t, plan.Envs["prod"].Components["hero"].Providers)
 	assert.NotNil(t, plan.Envs["prod"].Components["hero"].Providers.Heroku)
+
+	assert.NotNil(t, plan.Envs["prod"])
+	assert.NotNil(t, plan.Envs["prod"].Components["datadog"])
+	assert.NotNil(t, plan.Envs["prod"].Components["datadog"].Providers)
+	assert.NotNil(t, plan.Envs["prod"].Components["datadog"].Providers.Datadog)
 }
 
 func TestExtraVarsCompositionV2(t *testing.T) {
diff --git a/templates/templates_test.go b/templates/templates_test.go
index 1d587904..c4f7f2e5 100644
--- a/templates/templates_test.go
+++ b/templates/templates_test.go
@@ -21,7 +21,7 @@ func TestOpenTemplate(t *testing.T) {
 		tLen    int
 		wantErr bool
 	}{
-		{"foo", args{temps.Account, "Makefile.tmpl"}, 9, false},
+		{"foo", args{temps.Account, "Makefile.tmpl"}, 10, false},
 	}
 
 	for _, tt := range tests {
diff --git a/testdata/bless_provider/terraform/accounts/foo/fogg.tf b/testdata/bless_provider/terraform/accounts/foo/fogg.tf
index c6277e43..4932c8c8 100644
--- a/testdata/bless_provider/terraform/accounts/foo/fogg.tf
+++ b/testdata/bless_provider/terraform/accounts/foo/fogg.tf
@@ -38,6 +38,8 @@ provider "bless" {
 
 
 
+
+
 terraform {
   required_version = "=1.1.1"
 
diff --git a/testdata/bless_provider/terraform/envs/bar/bam/fogg.tf b/testdata/bless_provider/terraform/envs/bar/bam/fogg.tf
index 59aaf4a0..53276a14 100644
--- a/testdata/bless_provider/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/bless_provider/terraform/envs/bar/bam/fogg.tf
@@ -38,6 +38,8 @@ provider "bless" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/bless_provider/terraform/global/fogg.tf b/testdata/bless_provider/terraform/global/fogg.tf
index 87a9a32b..158259fe 100644
--- a/testdata/bless_provider/terraform/global/fogg.tf
+++ b/testdata/bless_provider/terraform/global/fogg.tf
@@ -39,6 +39,8 @@ provider "bless" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/github_provider/terraform/accounts/foo/fogg.tf b/testdata/github_provider/terraform/accounts/foo/fogg.tf
index 9bee433e..1fb17bf3 100644
--- a/testdata/github_provider/terraform/accounts/foo/fogg.tf
+++ b/testdata/github_provider/terraform/accounts/foo/fogg.tf
@@ -22,6 +22,8 @@ provider "github" {
 
 
 
+
+
 terraform {
   required_version = "=1.1.1"
 
diff --git a/testdata/github_provider/terraform/envs/bar/bam/fogg.tf b/testdata/github_provider/terraform/envs/bar/bam/fogg.tf
index becdb319..da5f11bf 100644
--- a/testdata/github_provider/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/github_provider/terraform/envs/bar/bam/fogg.tf
@@ -22,6 +22,8 @@ provider "github" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/github_provider/terraform/global/fogg.tf b/testdata/github_provider/terraform/global/fogg.tf
index 8bf3a201..0000b537 100644
--- a/testdata/github_provider/terraform/global/fogg.tf
+++ b/testdata/github_provider/terraform/global/fogg.tf
@@ -23,6 +23,8 @@ provider "github" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/okta_provider/terraform/accounts/foo/fogg.tf b/testdata/okta_provider/terraform/accounts/foo/fogg.tf
index 9c968341..10c1b8da 100644
--- a/testdata/okta_provider/terraform/accounts/foo/fogg.tf
+++ b/testdata/okta_provider/terraform/accounts/foo/fogg.tf
@@ -22,6 +22,8 @@ provider "okta" {
 
 
 
+
+
 terraform {
   required_version = "=1.1.1"
 
diff --git a/testdata/okta_provider/terraform/envs/bar/bam/fogg.tf b/testdata/okta_provider/terraform/envs/bar/bam/fogg.tf
index 636ab68f..5ebe978c 100644
--- a/testdata/okta_provider/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/okta_provider/terraform/envs/bar/bam/fogg.tf
@@ -22,6 +22,8 @@ provider "okta" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/okta_provider/terraform/global/fogg.tf b/testdata/okta_provider/terraform/global/fogg.tf
index dd627747..b6cdd1c0 100644
--- a/testdata/okta_provider/terraform/global/fogg.tf
+++ b/testdata/okta_provider/terraform/global/fogg.tf
@@ -23,6 +23,8 @@ provider "okta" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/snowflake_provider/terraform/accounts/foo/fogg.tf b/testdata/snowflake_provider/terraform/accounts/foo/fogg.tf
index c4e39896..4cd79a58 100644
--- a/testdata/snowflake_provider/terraform/accounts/foo/fogg.tf
+++ b/testdata/snowflake_provider/terraform/accounts/foo/fogg.tf
@@ -23,6 +23,8 @@ provider "snowflake" {
 
 
 
+
+
 terraform {
   required_version = "=1.1.1"
 
diff --git a/testdata/snowflake_provider/terraform/envs/bar/bam/fogg.tf b/testdata/snowflake_provider/terraform/envs/bar/bam/fogg.tf
index 837eb4e4..a0a7bea7 100644
--- a/testdata/snowflake_provider/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/snowflake_provider/terraform/envs/bar/bam/fogg.tf
@@ -23,6 +23,8 @@ provider "snowflake" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/snowflake_provider/terraform/global/fogg.tf b/testdata/snowflake_provider/terraform/global/fogg.tf
index 9b4b2152..9515b931 100644
--- a/testdata/snowflake_provider/terraform/global/fogg.tf
+++ b/testdata/snowflake_provider/terraform/global/fogg.tf
@@ -24,6 +24,8 @@ provider "snowflake" {
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/v1_full/terraform/accounts/bar/fogg.tf b/testdata/v1_full/terraform/accounts/bar/fogg.tf
index 0befc04b..497d6075 100644
--- a/testdata/v1_full/terraform/accounts/bar/fogg.tf
+++ b/testdata/v1_full/terraform/accounts/bar/fogg.tf
@@ -32,6 +32,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "=0.13.0"
 
diff --git a/testdata/v1_full/terraform/accounts/foo/fogg.tf b/testdata/v1_full/terraform/accounts/foo/fogg.tf
index bf907609..44e07579 100644
--- a/testdata/v1_full/terraform/accounts/foo/fogg.tf
+++ b/testdata/v1_full/terraform/accounts/foo/fogg.tf
@@ -32,6 +32,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "=0.12.0"
 
diff --git a/testdata/v1_full/terraform/envs/stage/cloud-env/fogg.tf b/testdata/v1_full/terraform/envs/stage/cloud-env/fogg.tf
index 00d53188..00fae474 100644
--- a/testdata/v1_full/terraform/envs/stage/cloud-env/fogg.tf
+++ b/testdata/v1_full/terraform/envs/stage/cloud-env/fogg.tf
@@ -33,6 +33,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "~>0.15.0"
 
diff --git a/testdata/v1_full/terraform/envs/stage/helm/fogg.tf b/testdata/v1_full/terraform/envs/stage/helm/fogg.tf
index 7aecf340..2f1762cc 100644
--- a/testdata/v1_full/terraform/envs/stage/helm/fogg.tf
+++ b/testdata/v1_full/terraform/envs/stage/helm/fogg.tf
@@ -33,6 +33,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "~>0.14.0"
 
diff --git a/testdata/v1_full/terraform/global/fogg.tf b/testdata/v1_full/terraform/global/fogg.tf
index 0da034c2..c33ad336 100644
--- a/testdata/v1_full/terraform/global/fogg.tf
+++ b/testdata/v1_full/terraform/global/fogg.tf
@@ -33,6 +33,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "~>0.11.0"
 
diff --git a/testdata/v2_full/terraform/accounts/bar/fogg.tf b/testdata/v2_full/terraform/accounts/bar/fogg.tf
index e62214d3..20cbf8ef 100644
--- a/testdata/v2_full/terraform/accounts/bar/fogg.tf
+++ b/testdata/v2_full/terraform/accounts/bar/fogg.tf
@@ -24,6 +24,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "=0.100.0"
 
diff --git a/testdata/v2_full/terraform/accounts/foo/fogg.tf b/testdata/v2_full/terraform/accounts/foo/fogg.tf
index 8018743f..aeb3ce9a 100644
--- a/testdata/v2_full/terraform/accounts/foo/fogg.tf
+++ b/testdata/v2_full/terraform/accounts/foo/fogg.tf
@@ -24,6 +24,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "=0.100.0"
 
diff --git a/testdata/v2_full/terraform/envs/staging/comp1/fogg.tf b/testdata/v2_full/terraform/envs/staging/comp1/fogg.tf
index 4146c625..577d22db 100644
--- a/testdata/v2_full/terraform/envs/staging/comp1/fogg.tf
+++ b/testdata/v2_full/terraform/envs/staging/comp1/fogg.tf
@@ -25,6 +25,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"
 
diff --git a/testdata/v2_full/terraform/envs/staging/comp2/fogg.tf b/testdata/v2_full/terraform/envs/staging/comp2/fogg.tf
index debd825c..41e77b08 100644
--- a/testdata/v2_full/terraform/envs/staging/comp2/fogg.tf
+++ b/testdata/v2_full/terraform/envs/staging/comp2/fogg.tf
@@ -25,6 +25,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"
 
diff --git a/testdata/v2_full/terraform/envs/staging/vpc/fogg.tf b/testdata/v2_full/terraform/envs/staging/vpc/fogg.tf
index c3011232..abfae8e8 100644
--- a/testdata/v2_full/terraform/envs/staging/vpc/fogg.tf
+++ b/testdata/v2_full/terraform/envs/staging/vpc/fogg.tf
@@ -25,6 +25,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"
 
diff --git a/testdata/v2_full/terraform/global/fogg.tf b/testdata/v2_full/terraform/global/fogg.tf
index 90eb1ded..998276b2 100644
--- a/testdata/v2_full/terraform/global/fogg.tf
+++ b/testdata/v2_full/terraform/global/fogg.tf
@@ -25,6 +25,8 @@ provider "aws" {
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"
 
diff --git a/testdata/v2_full_yaml/fogg.yml b/testdata/v2_full_yaml/fogg.yml
index e1fc9821..7f59e5e0 100644
--- a/testdata/v2_full_yaml/fogg.yml
+++ b/testdata/v2_full_yaml/fogg.yml
@@ -29,6 +29,9 @@ envs:
       hero:
         providers:
           heroku: {}
+      datadog:
+        providers:
+          datadog: {}
   staging:
     components:
       comp_helm_template:
diff --git a/testdata/v2_minimal_valid/terraform/global/fogg.tf b/testdata/v2_minimal_valid/terraform/global/fogg.tf
index 9ff531ea..8f3256c0 100644
--- a/testdata/v2_minimal_valid/terraform/global/fogg.tf
+++ b/testdata/v2_minimal_valid/terraform/global/fogg.tf
@@ -14,6 +14,8 @@
 
 
 
+
+
 terraform {
   required_version = "~>1.1.1"
 
diff --git a/testdata/v2_no_aws_provider/terraform/accounts/bar/fogg.tf b/testdata/v2_no_aws_provider/terraform/accounts/bar/fogg.tf
index 17146554..7a9242b3 100644
--- a/testdata/v2_no_aws_provider/terraform/accounts/bar/fogg.tf
+++ b/testdata/v2_no_aws_provider/terraform/accounts/bar/fogg.tf
@@ -13,6 +13,8 @@
 
 
 
+
+
 terraform {
   required_version = "=0.100.0"
 
diff --git a/testdata/v2_no_aws_provider/terraform/accounts/foo/fogg.tf b/testdata/v2_no_aws_provider/terraform/accounts/foo/fogg.tf
index 4da2dbe2..ecc12d80 100644
--- a/testdata/v2_no_aws_provider/terraform/accounts/foo/fogg.tf
+++ b/testdata/v2_no_aws_provider/terraform/accounts/foo/fogg.tf
@@ -13,6 +13,8 @@
 
 
 
+
+
 terraform {
   required_version = "=0.100.0"
 
diff --git a/testdata/v2_no_aws_provider/terraform/envs/staging/comp1/fogg.tf b/testdata/v2_no_aws_provider/terraform/envs/staging/comp1/fogg.tf
index 16859cd1..35bb0f27 100644
--- a/testdata/v2_no_aws_provider/terraform/envs/staging/comp1/fogg.tf
+++ b/testdata/v2_no_aws_provider/terraform/envs/staging/comp1/fogg.tf
@@ -13,6 +13,8 @@
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"
 
diff --git a/testdata/v2_no_aws_provider/terraform/envs/staging/comp2/fogg.tf b/testdata/v2_no_aws_provider/terraform/envs/staging/comp2/fogg.tf
index 9b1ade53..dcac9d33 100644
--- a/testdata/v2_no_aws_provider/terraform/envs/staging/comp2/fogg.tf
+++ b/testdata/v2_no_aws_provider/terraform/envs/staging/comp2/fogg.tf
@@ -13,6 +13,8 @@
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"
 
diff --git a/testdata/v2_no_aws_provider/terraform/envs/staging/vpc/fogg.tf b/testdata/v2_no_aws_provider/terraform/envs/staging/vpc/fogg.tf
index c57b38b0..db889400 100644
--- a/testdata/v2_no_aws_provider/terraform/envs/staging/vpc/fogg.tf
+++ b/testdata/v2_no_aws_provider/terraform/envs/staging/vpc/fogg.tf
@@ -13,6 +13,8 @@
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"
 
diff --git a/testdata/v2_no_aws_provider/terraform/global/fogg.tf b/testdata/v2_no_aws_provider/terraform/global/fogg.tf
index 16d0bb30..5e068888 100644
--- a/testdata/v2_no_aws_provider/terraform/global/fogg.tf
+++ b/testdata/v2_no_aws_provider/terraform/global/fogg.tf
@@ -14,6 +14,8 @@
 
 
 
+
+
 terraform {
   required_version = "~>0.100.0"