├── .formatter.exs ├── .github ├── dependabot.yml └── workflows │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── config └── config.exs ├── lib ├── mix │ ├── support.ex │ └── tasks │ │ ├── apply.ex │ │ ├── build.ex │ │ ├── destroy.ex │ │ ├── gen │ │ ├── present.ex │ │ └── wrapper.ex │ │ ├── list.ex │ │ ├── plan.ex │ │ ├── publish.ex │ │ └── setup.ex ├── templates │ ├── present │ │ ├── main.tf.template │ │ └── manifest.json.template │ └── wrapper │ │ ├── main.tf.template │ │ └── variables.tf.template ├── wrap.ex └── wrap │ ├── env.ex │ ├── manifest.ex │ ├── present.ex │ ├── presents.ex │ ├── release.ex │ └── tree.ex ├── mix.exs ├── mix.lock └── test ├── fixtures ├── root_manifest │ └── manifest.json └── valid_presents │ ├── a │ └── manifest.json │ ├── b │ └── manifest.json │ └── c │ └── within_c │ └── manifest.json ├── test_helper.exs ├── wrap ├── present_test.exs ├── presents_test.exs └── tree_test.exs └── wrap_test.exs /.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/.formatter.exs -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/README.md -------------------------------------------------------------------------------- /config/config.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/config/config.exs -------------------------------------------------------------------------------- /lib/mix/support.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/support.ex -------------------------------------------------------------------------------- /lib/mix/tasks/apply.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/apply.ex -------------------------------------------------------------------------------- /lib/mix/tasks/build.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/build.ex -------------------------------------------------------------------------------- /lib/mix/tasks/destroy.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/destroy.ex -------------------------------------------------------------------------------- /lib/mix/tasks/gen/present.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/gen/present.ex -------------------------------------------------------------------------------- /lib/mix/tasks/gen/wrapper.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/gen/wrapper.ex -------------------------------------------------------------------------------- /lib/mix/tasks/list.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/list.ex -------------------------------------------------------------------------------- /lib/mix/tasks/plan.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/plan.ex -------------------------------------------------------------------------------- /lib/mix/tasks/publish.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/publish.ex -------------------------------------------------------------------------------- /lib/mix/tasks/setup.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/mix/tasks/setup.ex -------------------------------------------------------------------------------- /lib/templates/present/main.tf.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/templates/present/main.tf.template -------------------------------------------------------------------------------- /lib/templates/present/manifest.json.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/templates/present/manifest.json.template -------------------------------------------------------------------------------- /lib/templates/wrapper/main.tf.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/templates/wrapper/main.tf.template -------------------------------------------------------------------------------- /lib/templates/wrapper/variables.tf.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/templates/wrapper/variables.tf.template -------------------------------------------------------------------------------- /lib/wrap.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/wrap.ex -------------------------------------------------------------------------------- /lib/wrap/env.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/wrap/env.ex -------------------------------------------------------------------------------- /lib/wrap/manifest.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/wrap/manifest.ex -------------------------------------------------------------------------------- /lib/wrap/present.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/wrap/present.ex -------------------------------------------------------------------------------- /lib/wrap/presents.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/wrap/presents.ex -------------------------------------------------------------------------------- /lib/wrap/release.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/wrap/release.ex -------------------------------------------------------------------------------- /lib/wrap/tree.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/lib/wrap/tree.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/mix.lock -------------------------------------------------------------------------------- /test/fixtures/root_manifest/manifest.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/valid_presents/a/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/test/fixtures/valid_presents/a/manifest.json -------------------------------------------------------------------------------- /test/fixtures/valid_presents/b/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/test/fixtures/valid_presents/b/manifest.json -------------------------------------------------------------------------------- /test/fixtures/valid_presents/c/within_c/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/test/fixtures/valid_presents/c/within_c/manifest.json -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /test/wrap/present_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/test/wrap/present_test.exs -------------------------------------------------------------------------------- /test/wrap/presents_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/test/wrap/presents_test.exs -------------------------------------------------------------------------------- /test/wrap/tree_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/test/wrap/tree_test.exs -------------------------------------------------------------------------------- /test/wrap_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fremantle-industries/wrap/HEAD/test/wrap_test.exs --------------------------------------------------------------------------------