Repository: awslabs/seed-farmer (language: python)

Issue:
Releasee 0.1.4
*Issue #, if available:*
Fixed wrong version used
*Description of changes:*


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 41d4b7e5..8462e341 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Ch
 
 
 
-## Unreleased
+## v2.0.0 (2022-09-22)
 
 ### New
 - new CLI bootstrap commands for Toolchain and Target accounts
diff --git a/VERSION b/VERSION
index 25ae89c3..359a5b95 100644
--- a/VERSION
+++ b/VERSION
@@ -1,1 +1,1 @@
-2.0.0b5
+2.0.0
\ No newline at end of file


Test patch:
diff --git a/test/unit-test/mock_data/manifests/module-test/deployment.yaml b/test/unit-test/mock_data/manifests/module-test/deployment.yaml
index 8dde41c3..3f1075ed 100644
--- a/test/unit-test/mock_data/manifests/module-test/deployment.yaml
+++ b/test/unit-test/mock_data/manifests/module-test/deployment.yaml
@@ -5,7 +5,9 @@ groups:
     path: manifests/module-test/test-modules.yaml
 targetAccountMappings:
   - alias: primary
-    accountId: "000000000000"
+    accountId:
+      valueFrom:
+        envVariable: PRIMARY_ACCOUNT
     default: true
     # parametersGlobal:
     #   permissionsBoundaryName: policy-name
diff --git a/test/unit-test/mock_data/manifests/module-test/test-modules.yaml b/test/unit-test/mock_data/manifests/module-test/test-modules.yaml
index f7b66a6d..901be277 100644
--- a/test/unit-test/mock_data/manifests/module-test/test-modules.yaml
+++ b/test/unit-test/mock_data/manifests/module-test/test-modules.yaml
@@ -2,4 +2,4 @@ name: test-module
 path: modules/module-test/
 parameters:
   - name: domain_name_prefix
-    value: testdomaindomaintester
+    value: testdomaindomaintester-a
diff --git a/test/unit-test/mock_data/manifests/test-broken-deployspec-deploy/deployment.yaml b/test/unit-test/mock_data/manifests/test-broken-deployspec-deploy/deployment.yaml
index baf6f2f0..7315218f 100644
--- a/test/unit-test/mock_data/manifests/test-broken-deployspec-deploy/deployment.yaml
+++ b/test/unit-test/mock_data/manifests/test-broken-deployspec-deploy/deployment.yaml
@@ -5,7 +5,9 @@ groups:
     path: manifests/test-broken-deployspec-deploy/test-module.yamlxddd
 targetAccountMappings:
   - alias: primary
-    accountId: "000000000000"
+    accountId:
+      valueFrom:
+        envVariable: PRIMARY_ACCOUNT
     default: true
     # parametersGlobal:
     #   permissionsBoundaryName: policy-name
diff --git a/test/unit-test/mock_data/manifests/test-broken-deployspec-destroy/deployment.yaml b/test/unit-test/mock_data/manifests/test-broken-deployspec-destroy/deployment.yaml
index 542e7193..1595bea5 100644
--- a/test/unit-test/mock_data/manifests/test-broken-deployspec-destroy/deployment.yaml
+++ b/test/unit-test/mock_data/manifests/test-broken-deployspec-destroy/deployment.yaml
@@ -5,7 +5,9 @@ groups:
     path: manifests/test-broken-deployspec-destroy/test-module.yaml
 targetAccountMappings:
   - alias: primary
-    accountId: "000000000000"
+    accountId:
+      valueFrom:
+        envVariable: PRIMARY_ACCOUNT
     default: true
     # parametersGlobal:
     #   permissionsBoundaryName: policy-name
diff --git a/test/unit-test/mock_data/manifests/test-missing-deployment-group-name/deployment.yaml b/test/unit-test/mock_data/manifests/test-missing-deployment-group-name/deployment.yaml
index 92c64ae4..c8f28fe4 100644
--- a/test/unit-test/mock_data/manifests/test-missing-deployment-group-name/deployment.yaml
+++ b/test/unit-test/mock_data/manifests/test-missing-deployment-group-name/deployment.yaml
@@ -5,7 +5,9 @@ groups:
     path: manifests/test-missing-deployment-group-name/test-module.yaml
 targetAccountMappings:
   - alias: primary
-    accountId: "000000000000"
+    accountId:
+      valueFrom:
+        envVariable: PRIMARY_ACCOUNT
     default: true
     # parametersGlobal:
     #   permissionsBoundaryName: policy-name
diff --git a/test/unit-test/mock_data/manifests/test-missing-deployment-group-path/deployment.yaml b/test/unit-test/mock_data/manifests/test-missing-deployment-group-path/deployment.yaml
index b79372c7..d787b2c9 100644
--- a/test/unit-test/mock_data/manifests/test-missing-deployment-group-path/deployment.yaml
+++ b/test/unit-test/mock_data/manifests/test-missing-deployment-group-path/deployment.yaml
@@ -5,7 +5,9 @@ groups:
     path:
 targetAccountMappings:
   - alias: primary
-    accountId: "000000000000"
+    accountId:
+      valueFrom:
+        envVariable: PRIMARY_ACCOUNT
     default: true
     # parametersGlobal:
     #   permissionsBoundaryName: policy-name
diff --git a/test/unit-test/mock_data/manifests/test-missing-deployment-name/deployment.yaml b/test/unit-test/mock_data/manifests/test-missing-deployment-name/deployment.yaml
index 91bf4271..4a23be11 100644
--- a/test/unit-test/mock_data/manifests/test-missing-deployment-name/deployment.yaml
+++ b/test/unit-test/mock_data/manifests/test-missing-deployment-name/deployment.yaml
@@ -5,7 +5,9 @@ groups:
     path: test/unit-test/mock_data/manifests/test-missing-deployment-name/test-module.yaml
 targetAccountMappings:
   - alias: primary
-    accountId: "000000000000"
+    accountId:
+      valueFrom:
+        envVariable: PRIMARY_ACCOUNT
     default: true
     # parametersGlobal:
     #   permissionsBoundaryName: policy-name
diff --git a/test/unit-test/mock_data/manifests/test-missing-group-manifest/deployment.yaml b/test/unit-test/mock_data/manifests/test-missing-group-manifest/deployment.yaml
index 1504165c..acf3dc47 100644
--- a/test/unit-test/mock_data/manifests/test-missing-group-manifest/deployment.yaml
+++ b/test/unit-test/mock_data/manifests/test-missing-group-manifest/deployment.yaml
@@ -5,7 +5,9 @@ groups:
     path: test/unit-test/mock_data/manifests/test-missing-group-manifest/test-module.yaml
 targetAccountMappings:
   - alias: primary
-    accountId: "000000000000"
+    accountId:
+      valueFrom:
+        envVariable: PRIMARY_ACCOUNT
     default: true
     # parametersGlobal:
     #   permissionsBoundaryName: policy-name
diff --git a/test/unit-test/test_cli_arg.py b/test/unit-test/test_cli_arg.py
index 26f999b4..d7311009 100644
--- a/test/unit-test/test_cli_arg.py
+++ b/test/unit-test/test_cli_arg.py
@@ -294,7 +294,7 @@ def test_list_moduledata_non_existent_module():
         sub_command=_list,
         options=["moduledata", "-d", "test-deployment", "-g", "group-name", "-m", "module-name"],
         exit_code=0,
-        expected_output="null",
+        expected_output="No module data found for test-deployment-group-name-module-name",
     )