diff --git a/.gitignore b/.gitignore index e007ae45..c9c61cc9 100644 --- a/.gitignore +++ b/.gitignore @@ -24,9 +24,9 @@ website/node_modules *.iml *.test *.iml +*.tfvars website/vendor -examples/main.tf test_results vendor/ .terraformrc diff --git a/examples/main.tf b/examples/main.tf index d427ec77..b13fb1f7 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -6,10 +6,14 @@ terraform { } } +variable "token" { + type = string +} + provider "astronomer" { organization_id = "cljzz64cc001n01mln1pgkvpj" host = "https://api.astronomer-dev.io" - token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcGlUb2tlbklkIjoiY2x0aHg3ZWN0MDAxbDAxaTJibnM4NTVzMiIsImF1ZCI6ImFzdHJvbm9tZXItZWUiLCJpYXQiOjE3MDk4NTc4MzEsImlzQXN0cm9ub21lckdlbmVyYXRlZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6Ly9hcGkuYXN0cm9ub21lci1kZXYuaW8iLCJraWQiOiJjbG80aGN0OWcwMDA1MDFxdmNpdGc0aGpoIiwicGVybWlzc2lvbnMiOlsiYXBpVG9rZW5JZDpjbHRoeDdlY3QwMDFsMDFpMmJuczg1NXMyIiwib3JnYW5pemF0aW9uSWQ6Y2xqeno2NGNjMDAxbjAxbWxuMXBna3ZwaiIsIm9yZ1Nob3J0TmFtZTpjbGp6ejY0Y2MwMDFuMDFtbG4xcGdrdnBqIl0sInNjb3BlIjoiYXBpVG9rZW5JZDpjbHRoeDdlY3QwMDFsMDFpMmJuczg1NXMyIG9yZ2FuaXphdGlvbklkOmNsanp6NjRjYzAwMW4wMW1sbjFwZ2t2cGogb3JnU2hvcnROYW1lOmNsanp6NjRjYzAwMW4wMW1sbjFwZ2t2cGoiLCJzdWIiOiJjbDdxcWU0dGYyNjQ0NDJkMjhmdHRvZTdnOCIsInZlcnNpb24iOiJjbHRoeDdlY3QwMDFrMDFpMjhpYXF1Y2s1In0.Mu1Q65LJQtpWHZTheipiQoJm3Yw3k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