Skip to content

Commit 97919f2

Browse files
committed
Update samples
1 parent 3261f1d commit 97919f2

File tree

11 files changed

+137
-139
lines changed

11 files changed

+137
-139
lines changed

Devpro.TerraformBackend.sln

Lines changed: 112 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,112 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.1.32407.343
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "0 - Solution Items", "0 - Solution Items", "{7B3738E0-6F86-4358-B55C-5AAD42B24F81}"
7-
ProjectSection(SolutionItems) = preProject
8-
.editorconfig = .editorconfig
9-
.gitignore = .gitignore
10-
compose.yaml = compose.yaml
11-
CONTRIBUTING.md = CONTRIBUTING.md
12-
Directory.Build.props = Directory.Build.props
13-
README.md = README.md
14-
EndProjectSection
15-
EndProject
16-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3 - Applications", "3 - Applications", "{6D13F54F-4547-49C7-8136-01BFB4BBEE1E}"
17-
EndProject
18-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2 - Business", "2 - Business", "{E9839BEC-B050-43E9-8EFD-34659CC92D93}"
19-
EndProject
20-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApi", "src\WebApi\WebApi.csproj", "{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}"
21-
EndProject
22-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain", "src\Domain\Domain.csproj", "{A5CAD112-C1E6-442B-BE0E-37C697030636}"
23-
EndProject
24-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure.MongoDb", "src\Infrastructure.MongoDb\Infrastructure.MongoDb.csproj", "{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}"
25-
EndProject
26-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.MongoDb", "src\Common.MongoDb\Common.MongoDb.csproj", "{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}"
27-
EndProject
28-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D}"
29-
EndProject
30-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.AspNetCore", "src\Common.AspNetCore\Common.AspNetCore.csproj", "{F23098F5-355B-46F0-BABE-3D6E23D8EED7}"
31-
EndProject
32-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "terraform-docker", "terraform-docker", "{001CB9EB-2F7E-4288-BA9B-1E01ED43B8FF}"
33-
ProjectSection(SolutionItems) = preProject
34-
samples\terraform-docker\main.tf = samples\terraform-docker\main.tf
35-
samples\terraform-docker\outputs.tf = samples\terraform-docker\outputs.tf
36-
samples\terraform-docker\providers.tf = samples\terraform-docker\providers.tf
37-
samples\terraform-docker\README.md = samples\terraform-docker\README.md
38-
samples\terraform-docker\variables.tf = samples\terraform-docker\variables.tf
39-
EndProjectSection
40-
EndProject
41-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{7F01D180-1A34-4377-B4E5-C852D8302CE7}"
42-
ProjectSection(SolutionItems) = preProject
43-
scripts\mongo-create-index.js = scripts\mongo-create-index.js
44-
EndProjectSection
45-
EndProject
46-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApi.IntegrationTests", "test\WebApi.IntegrationTests\WebApi.IntegrationTests.csproj", "{B055FFAF-8261-43B1-866A-12E289D5D7DC}"
47-
EndProject
48-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.AspNetCore.WebApi", "src\Common.AspNetCore.WebApi\Common.AspNetCore.WebApi.csproj", "{19336002-C959-4E76-B112-861F93CF6423}"
49-
EndProject
50-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1 - Framework", "1 - Framework", "{0C1E6968-B289-4378-84CF-B64E05E643A5}"
51-
EndProject
52-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "terraform-local", "terraform-local", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
53-
ProjectSection(SolutionItems) = preProject
54-
samples\terraform-local\main.tf = samples\terraform-local\main.tf
55-
samples\terraform-local\README.md = samples\terraform-local\README.md
56-
EndProjectSection
57-
EndProject
58-
Global
59-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
60-
Debug|Any CPU = Debug|Any CPU
61-
Release|Any CPU = Release|Any CPU
62-
EndGlobalSection
63-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
64-
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
65-
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
66-
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
67-
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Release|Any CPU.Build.0 = Release|Any CPU
68-
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
69-
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Debug|Any CPU.Build.0 = Debug|Any CPU
70-
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Release|Any CPU.ActiveCfg = Release|Any CPU
71-
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Release|Any CPU.Build.0 = Release|Any CPU
72-
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
73-
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
74-
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
75-
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Release|Any CPU.Build.0 = Release|Any CPU
76-
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
77-
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
78-
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
79-
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Release|Any CPU.Build.0 = Release|Any CPU
80-
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
81-
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Debug|Any CPU.Build.0 = Debug|Any CPU
82-
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Release|Any CPU.ActiveCfg = Release|Any CPU
83-
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Release|Any CPU.Build.0 = Release|Any CPU
84-
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
85-
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
86-
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
87-
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Release|Any CPU.Build.0 = Release|Any CPU
88-
{19336002-C959-4E76-B112-861F93CF6423}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
89-
{19336002-C959-4E76-B112-861F93CF6423}.Debug|Any CPU.Build.0 = Debug|Any CPU
90-
{19336002-C959-4E76-B112-861F93CF6423}.Release|Any CPU.ActiveCfg = Release|Any CPU
91-
{19336002-C959-4E76-B112-861F93CF6423}.Release|Any CPU.Build.0 = Release|Any CPU
92-
EndGlobalSection
93-
GlobalSection(SolutionProperties) = preSolution
94-
HideSolutionNode = FALSE
95-
EndGlobalSection
96-
GlobalSection(NestedProjects) = preSolution
97-
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C} = {6D13F54F-4547-49C7-8136-01BFB4BBEE1E}
98-
{A5CAD112-C1E6-442B-BE0E-37C697030636} = {E9839BEC-B050-43E9-8EFD-34659CC92D93}
99-
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C} = {E9839BEC-B050-43E9-8EFD-34659CC92D93}
100-
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C} = {0C1E6968-B289-4378-84CF-B64E05E643A5}
101-
{3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D} = {7B3738E0-6F86-4358-B55C-5AAD42B24F81}
102-
{F23098F5-355B-46F0-BABE-3D6E23D8EED7} = {0C1E6968-B289-4378-84CF-B64E05E643A5}
103-
{001CB9EB-2F7E-4288-BA9B-1E01ED43B8FF} = {3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D}
104-
{7F01D180-1A34-4377-B4E5-C852D8302CE7} = {7B3738E0-6F86-4358-B55C-5AAD42B24F81}
105-
{B055FFAF-8261-43B1-866A-12E289D5D7DC} = {6D13F54F-4547-49C7-8136-01BFB4BBEE1E}
106-
{19336002-C959-4E76-B112-861F93CF6423} = {0C1E6968-B289-4378-84CF-B64E05E643A5}
107-
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D}
108-
EndGlobalSection
109-
GlobalSection(ExtensibilityGlobals) = postSolution
110-
SolutionGuid = {DC545534-6A10-475B-A0DA-3374CC025D82}
111-
EndGlobalSection
112-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.1.32407.343
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "0 - Solution Items", "0 - Solution Items", "{7B3738E0-6F86-4358-B55C-5AAD42B24F81}"
7+
ProjectSection(SolutionItems) = preProject
8+
.editorconfig = .editorconfig
9+
.gitignore = .gitignore
10+
compose.yaml = compose.yaml
11+
CONTRIBUTING.md = CONTRIBUTING.md
12+
Directory.Build.props = Directory.Build.props
13+
README.md = README.md
14+
EndProjectSection
15+
EndProject
16+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3 - Applications", "3 - Applications", "{6D13F54F-4547-49C7-8136-01BFB4BBEE1E}"
17+
EndProject
18+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2 - Business", "2 - Business", "{E9839BEC-B050-43E9-8EFD-34659CC92D93}"
19+
EndProject
20+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApi", "src\WebApi\WebApi.csproj", "{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}"
21+
EndProject
22+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain", "src\Domain\Domain.csproj", "{A5CAD112-C1E6-442B-BE0E-37C697030636}"
23+
EndProject
24+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure.MongoDb", "src\Infrastructure.MongoDb\Infrastructure.MongoDb.csproj", "{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}"
25+
EndProject
26+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.MongoDb", "src\Common.MongoDb\Common.MongoDb.csproj", "{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}"
27+
EndProject
28+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D}"
29+
EndProject
30+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.AspNetCore", "src\Common.AspNetCore\Common.AspNetCore.csproj", "{F23098F5-355B-46F0-BABE-3D6E23D8EED7}"
31+
EndProject
32+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docker-nginx", "docker-nginx", "{001CB9EB-2F7E-4288-BA9B-1E01ED43B8FF}"
33+
ProjectSection(SolutionItems) = preProject
34+
samples\docker-nginx\main.tf = samples\docker-nginx\main.tf
35+
samples\docker-nginx\outputs.tf = samples\docker-nginx\outputs.tf
36+
samples\docker-nginx\providers.tf = samples\docker-nginx\providers.tf
37+
samples\docker-nginx\README.md = samples\docker-nginx\README.md
38+
samples\docker-nginx\variables.tf = samples\docker-nginx\variables.tf
39+
EndProjectSection
40+
EndProject
41+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{7F01D180-1A34-4377-B4E5-C852D8302CE7}"
42+
ProjectSection(SolutionItems) = preProject
43+
scripts\mongo-create-index.js = scripts\mongo-create-index.js
44+
EndProjectSection
45+
EndProject
46+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApi.IntegrationTests", "test\WebApi.IntegrationTests\WebApi.IntegrationTests.csproj", "{B055FFAF-8261-43B1-866A-12E289D5D7DC}"
47+
EndProject
48+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.AspNetCore.WebApi", "src\Common.AspNetCore.WebApi\Common.AspNetCore.WebApi.csproj", "{19336002-C959-4E76-B112-861F93CF6423}"
49+
EndProject
50+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1 - Framework", "1 - Framework", "{0C1E6968-B289-4378-84CF-B64E05E643A5}"
51+
EndProject
52+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "local-files", "local-files", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
53+
ProjectSection(SolutionItems) = preProject
54+
samples\local-files\main.tf = samples\local-files\main.tf
55+
samples\local-files\README.md = samples\local-files\README.md
56+
EndProjectSection
57+
EndProject
58+
Global
59+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
60+
Debug|Any CPU = Debug|Any CPU
61+
Release|Any CPU = Release|Any CPU
62+
EndGlobalSection
63+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
64+
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
65+
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
66+
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
67+
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C}.Release|Any CPU.Build.0 = Release|Any CPU
68+
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
69+
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Debug|Any CPU.Build.0 = Debug|Any CPU
70+
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Release|Any CPU.ActiveCfg = Release|Any CPU
71+
{A5CAD112-C1E6-442B-BE0E-37C697030636}.Release|Any CPU.Build.0 = Release|Any CPU
72+
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
73+
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
74+
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
75+
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C}.Release|Any CPU.Build.0 = Release|Any CPU
76+
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
77+
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
78+
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
79+
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C}.Release|Any CPU.Build.0 = Release|Any CPU
80+
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
81+
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Debug|Any CPU.Build.0 = Debug|Any CPU
82+
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Release|Any CPU.ActiveCfg = Release|Any CPU
83+
{F23098F5-355B-46F0-BABE-3D6E23D8EED7}.Release|Any CPU.Build.0 = Release|Any CPU
84+
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
85+
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
86+
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
87+
{B055FFAF-8261-43B1-866A-12E289D5D7DC}.Release|Any CPU.Build.0 = Release|Any CPU
88+
{19336002-C959-4E76-B112-861F93CF6423}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
89+
{19336002-C959-4E76-B112-861F93CF6423}.Debug|Any CPU.Build.0 = Debug|Any CPU
90+
{19336002-C959-4E76-B112-861F93CF6423}.Release|Any CPU.ActiveCfg = Release|Any CPU
91+
{19336002-C959-4E76-B112-861F93CF6423}.Release|Any CPU.Build.0 = Release|Any CPU
92+
EndGlobalSection
93+
GlobalSection(SolutionProperties) = preSolution
94+
HideSolutionNode = FALSE
95+
EndGlobalSection
96+
GlobalSection(NestedProjects) = preSolution
97+
{5CD7A689-5ADB-4207-972E-6FA881AF1B1C} = {6D13F54F-4547-49C7-8136-01BFB4BBEE1E}
98+
{A5CAD112-C1E6-442B-BE0E-37C697030636} = {E9839BEC-B050-43E9-8EFD-34659CC92D93}
99+
{0429A41A-2D3A-42D4-8736-5FC0F6F0FF0C} = {E9839BEC-B050-43E9-8EFD-34659CC92D93}
100+
{49BF313A-4ED3-4BD2-9AEE-E44A5ED19C0C} = {0C1E6968-B289-4378-84CF-B64E05E643A5}
101+
{3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D} = {7B3738E0-6F86-4358-B55C-5AAD42B24F81}
102+
{F23098F5-355B-46F0-BABE-3D6E23D8EED7} = {0C1E6968-B289-4378-84CF-B64E05E643A5}
103+
{001CB9EB-2F7E-4288-BA9B-1E01ED43B8FF} = {3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D}
104+
{7F01D180-1A34-4377-B4E5-C852D8302CE7} = {7B3738E0-6F86-4358-B55C-5AAD42B24F81}
105+
{B055FFAF-8261-43B1-866A-12E289D5D7DC} = {6D13F54F-4547-49C7-8136-01BFB4BBEE1E}
106+
{19336002-C959-4E76-B112-861F93CF6423} = {0C1E6968-B289-4378-84CF-B64E05E643A5}
107+
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {3C2E7F7E-1F8E-49D1-AD56-EC60BEB5299D}
108+
EndGlobalSection
109+
GlobalSection(ExtensibilityGlobals) = postSolution
110+
SolutionGuid = {DC545534-6A10-475B-A0DA-3374CC025D82}
111+
EndGlobalSection
112+
EndGlobal

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
# MongoDB backend for Terraform/OpenTofu state
1+
# MongoDB HTTP backend for Terraform/OpenTofu state
22

33
[![CI](https://github.com/devpro/terraform-backend-mongodb/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/devpro/terraform-backend-mongodb/actions/workflows/ci.yaml)
44
[![PKG](https://github.com/devpro/terraform-backend-mongodb/actions/workflows/pkg.yaml/badge.svg?branch=main)](https://github.com/devpro/terraform-backend-mongodb/actions/workflows/pkg.yaml)
55
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=devpro_terraform-backend-mongodb&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=devpro_terraform-backend-mongodb)
66
[![Docker Image Version](https://img.shields.io/docker/v/devprofr/terraform-backend-mongodb?label=Image&logo=docker)](https://hub.docker.com/r/devprofr/terraform-backend-mongodb)
77

8-
Store Terraform/OpenTofu state in a MongoDB database thanks to his HTTP backend.
8+
Manage Terraform/OpenTofu state through a secured REST API and take advatange of MongoDB greatness!
99

10-
Look at the [project development guide](CONTRIBUTING.md) for more technical details.
11-
You're more than welcome to contribute!
10+
The [project development guide](CONTRIBUTING.md) provides the implementation details.
1211

1312
## Quick start
1413

@@ -23,9 +22,9 @@ You're more than welcome to contribute!
2322
```tf
2423
terraform {
2524
backend "http" {
26-
address = "<webapi_url>/state/<project_name>"
27-
lock_address = "<webapi_url>/state/<project_name>/lock"
28-
unlock_address = "<webapi_url>/state/<project_name>/lock"
25+
address = "<webapi_url>/<tenant>/state/<project_name>"
26+
lock_address = "<webapi_url>/<tenant>/state/<project_name>/lock"
27+
unlock_address = "<webapi_url>/<tenant>/state/<project_name>/lock"
2928
lock_method = "POST"
3029
unlock_method = "DELETE"
3130
username = "<api_username>"
@@ -40,5 +39,5 @@ terraform {
4039

4140
## Samples
4241

43-
* [Execute local actions](samples/terraform-local/README.md)
44-
* [Manage Docker images](samples/terraform-docker/README.md)
42+
* [Make local actions on files](samples/local-files/README.md)
43+
* [Run NGINX container with Docker](samples/docker-nginx/README.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.

samples/terraform-docker/providers.tf renamed to samples/docker-nginx/providers.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ terraform {
44
# https://developer.hashicorp.com/terraform/language/settings/backends/http#configuration-variables
55
backend "http" {
66
# port can be 5293 (project run from VS) or 9001 (docker compose)
7-
address = "http://localhost:5293/state/demo_devpro"
8-
lock_address = "http://localhost:5293/state/demo_devpro/lock"
9-
unlock_address = "http://localhost:5293/state/demo_devpro/lock"
7+
address = "http://localhost:5293/sample/state/docker-nginx"
8+
lock_address = "http://localhost:5293/sample/state/docker-nginx/lock"
9+
unlock_address = "http://localhost:5293/sample/state/docker-nginx/lock"
1010
lock_method = "POST"
1111
unlock_method = "DELETE"
1212
username = "admin"
@@ -18,7 +18,7 @@ terraform {
1818
required_providers {
1919
docker = {
2020
source = "kreuzwerker/docker"
21-
version = "~> 3.0.1"
21+
version = "~> 3.6.2"
2222
}
2323
}
2424
}
File renamed without changes.
File renamed without changes.

samples/terraform-local/main.tf renamed to samples/local-files/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
terraform {
22
backend "http" {
3-
address = "http://localhost:5293/state/demo_localexec"
4-
lock_address = "http://localhost:5293/state/demo_localexec/lock"
5-
unlock_address = "http://localhost:5293/state/demo_localexec/lock"
3+
address = "http://localhost:5293/sample/state/local-files"
4+
lock_address = "http://localhost:5293/sample/state/local-files/lock"
5+
unlock_address = "http://localhost:5293/sample/state/local-files/lock"
66
lock_method = "POST"
77
unlock_method = "DELETE"
88
username = "admin"

samples/terraform-local/test.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)