├── .github └── workflows │ └── release-provider.yml ├── LICENSE ├── README.md ├── docs ├── data-sources │ └── players.md ├── index.md └── resources │ ├── entity.md │ └── hello.md ├── examples ├── .gitignore └── hello-world │ ├── .gitignore │ ├── README.md │ ├── main.tf │ ├── modules │ └── hello │ │ ├── README.md │ │ ├── main.tf │ │ └── variables.tf │ └── scripts │ ├── clean-all.ps1 │ ├── clean-all.sh │ ├── clean-tf.ps1 │ ├── clean-tf.sh │ ├── run.ps1 │ └── run.sh ├── mod ├── README.md └── terraform-crud-api │ ├── control.lua │ ├── info.json │ ├── resource_db.lua │ └── resources │ ├── entity.lua │ └── hello.lua └── provider ├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .gitattributes ├── .gitignore ├── .goreleaser.yml ├── .vscode └── settings.json ├── README.md ├── client ├── direction.go ├── entity.go ├── factorio_client.go ├── rcon.go └── rcon_codec.go ├── go.mod ├── go.sum ├── internal ├── data_source_players.go ├── provider.go ├── resource_entity.go ├── resource_hello.go └── shared_schemas.go └── main.go /.github/workflows/release-provider.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/.github/workflows/release-provider.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/README.md -------------------------------------------------------------------------------- /docs/data-sources/players.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/docs/data-sources/players.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/resources/entity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/docs/resources/entity.md -------------------------------------------------------------------------------- /docs/resources/hello.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/docs/resources/hello.md -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/.gitignore -------------------------------------------------------------------------------- /examples/hello-world/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/.gitignore -------------------------------------------------------------------------------- /examples/hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/README.md -------------------------------------------------------------------------------- /examples/hello-world/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/main.tf -------------------------------------------------------------------------------- /examples/hello-world/modules/hello/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/modules/hello/README.md -------------------------------------------------------------------------------- /examples/hello-world/modules/hello/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/modules/hello/main.tf -------------------------------------------------------------------------------- /examples/hello-world/modules/hello/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/modules/hello/variables.tf -------------------------------------------------------------------------------- /examples/hello-world/scripts/clean-all.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/scripts/clean-all.ps1 -------------------------------------------------------------------------------- /examples/hello-world/scripts/clean-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/scripts/clean-all.sh -------------------------------------------------------------------------------- /examples/hello-world/scripts/clean-tf.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/scripts/clean-tf.ps1 -------------------------------------------------------------------------------- /examples/hello-world/scripts/clean-tf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/scripts/clean-tf.sh -------------------------------------------------------------------------------- /examples/hello-world/scripts/run.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/scripts/run.ps1 -------------------------------------------------------------------------------- /examples/hello-world/scripts/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/examples/hello-world/scripts/run.sh -------------------------------------------------------------------------------- /mod/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/mod/README.md -------------------------------------------------------------------------------- /mod/terraform-crud-api/control.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/mod/terraform-crud-api/control.lua -------------------------------------------------------------------------------- /mod/terraform-crud-api/info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/mod/terraform-crud-api/info.json -------------------------------------------------------------------------------- /mod/terraform-crud-api/resource_db.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/mod/terraform-crud-api/resource_db.lua -------------------------------------------------------------------------------- /mod/terraform-crud-api/resources/entity.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/mod/terraform-crud-api/resources/entity.lua -------------------------------------------------------------------------------- /mod/terraform-crud-api/resources/hello.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/mod/terraform-crud-api/resources/hello.lua -------------------------------------------------------------------------------- /provider/.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /provider/.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /provider/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/.gitattributes -------------------------------------------------------------------------------- /provider/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /vendor 3 | -------------------------------------------------------------------------------- /provider/.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/.goreleaser.yml -------------------------------------------------------------------------------- /provider/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.eol": "\n" 3 | } -------------------------------------------------------------------------------- /provider/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/README.md -------------------------------------------------------------------------------- /provider/client/direction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/client/direction.go -------------------------------------------------------------------------------- /provider/client/entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/client/entity.go -------------------------------------------------------------------------------- /provider/client/factorio_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/client/factorio_client.go -------------------------------------------------------------------------------- /provider/client/rcon.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/client/rcon.go -------------------------------------------------------------------------------- /provider/client/rcon_codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/client/rcon_codec.go -------------------------------------------------------------------------------- /provider/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/go.mod -------------------------------------------------------------------------------- /provider/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/go.sum -------------------------------------------------------------------------------- /provider/internal/data_source_players.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/internal/data_source_players.go -------------------------------------------------------------------------------- /provider/internal/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/internal/provider.go -------------------------------------------------------------------------------- /provider/internal/resource_entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/internal/resource_entity.go -------------------------------------------------------------------------------- /provider/internal/resource_hello.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/internal/resource_hello.go -------------------------------------------------------------------------------- /provider/internal/shared_schemas.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/internal/shared_schemas.go -------------------------------------------------------------------------------- /provider/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/efokschaner/terraform-provider-factorio/HEAD/provider/main.go --------------------------------------------------------------------------------