terraspace_plugin_azurerm 0.6.2 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/templates/hcl/project/config/terraform/{backend.tf → backend.tf.tt} +4 -3
- data/lib/templates/ruby/project/config/terraform/{backend.rb → backend.rb.tt} +2 -1
- data/lib/terraspace_plugin_azurerm/interfaces/backend/storage_account.rb +1 -0
- data/lib/terraspace_plugin_azurerm/interfaces/config.rb +1 -0
- data/lib/terraspace_plugin_azurerm/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a17e83126f3b050c9445680fb3960438b393819919bb33a041e8428bc9472d0e
|
4
|
+
data.tar.gz: 21e5acd41ca21d842304a67ed3ebe2449e56dc7222ee44a5acbde08355b52c82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 536ae41dd7b2a2d92976ed7b71c5e423820615927bb6c854c3a902668afecd09a5520514e4707cced2a3a4f9d1b8fefb3132553086629812042c762aae0e18c1
|
7
|
+
data.tar.gz: be6422d8ff25bb443be440c12aeea51b19514351181101424cfef98dbcbb80acfbf8def9781695613b958ebad034bf75dc1754111411fa8bba66fffb45adf24c
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [0.7.1] - 2024-05-01
|
7
|
+
- [#22](https://github.com/boltops-tools/terraspace_plugin_azurerm/pull/22) fix: add minimum_tls_version to sa config
|
8
|
+
|
9
|
+
## [0.7.0] - 2022-07-20
|
10
|
+
- [#19](https://github.com/boltops-tools/terraspace_plugin_azurerm/pull/19) update backend key generated default
|
11
|
+
|
6
12
|
## [0.6.2] - 2022-07-13
|
7
13
|
- [#18](https://github.com/boltops-tools/terraspace_plugin_azurerm/pull/18) add backend config variables docs comment
|
8
14
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# This file was initially generated by terraspace_plugin_azurerm <%= TerraspacePluginAzurerm::VERSION %>
|
1
2
|
# Backend Config Variables Docs
|
2
3
|
# https://terraspace.cloud/docs/config/backend/variables/
|
3
4
|
#
|
@@ -6,9 +7,9 @@
|
|
6
7
|
# This is useful because azure storage account names are not allowed special characters and are limited to 24 chars.
|
7
8
|
terraform {
|
8
9
|
backend "azurerm" {
|
9
|
-
resource_group_name = "
|
10
|
-
storage_account_name = "
|
10
|
+
resource_group_name = "<%%= expansion(':APP-:ENV-:LOCATION') %>"
|
11
|
+
storage_account_name = "<%%= expansion('ts:APP_HASH:SUBSCRIPTION_HASH:LOCATION_HASH:ENV') %>"
|
11
12
|
container_name = "terraform-state"
|
12
|
-
key = "
|
13
|
+
key = "<%%= expansion(':PROJECT/:LOCATION/:APP/:ROLE/:ENV/:EXTRA/:BUILD_DIR/terraform.tfstate') %>"
|
13
14
|
}
|
14
15
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# This file was initially generated by terraspace_plugin_azurerm <%= TerraspacePluginAzurerm::VERSION %>
|
1
2
|
# Backend Config Variables Docs
|
2
3
|
# https://terraspace.cloud/docs/config/backend/variables/
|
3
4
|
#
|
@@ -8,5 +9,5 @@ backend("azurerm",
|
|
8
9
|
resource_group_name: ":APP-:ENV-:LOCATION",
|
9
10
|
storage_account_name: "ts:APP_HASH:SUBSCRIPTION_HASH:LOCATION_HASH:ENV",
|
10
11
|
container_name: "terraform-state",
|
11
|
-
key: ":PROJECT/:
|
12
|
+
key: ":PROJECT/:LOCATION/:APP/:ROLE/:ENV/:EXTRA/:BUILD_DIR/terraform.tfstate",
|
12
13
|
)
|
@@ -44,6 +44,7 @@ class TerraspacePluginAzurerm::Interfaces::Backend
|
|
44
44
|
},
|
45
45
|
properties: {
|
46
46
|
allowBlobPublicAccess: config.storage_account.allow_blob_public_access,
|
47
|
+
minimumTlsVersion: config.storage_account.minimum_tls_version,
|
47
48
|
},
|
48
49
|
kind: "StorageV2",
|
49
50
|
tags: config.tags,
|
@@ -29,6 +29,7 @@ module TerraspacePluginAzurerm::Interfaces
|
|
29
29
|
c.storage_account.sku.name = "Standard_LRS"
|
30
30
|
c.storage_account.sku.tier = "Standard"
|
31
31
|
c.storage_account.allow_blob_public_access = false # Azure default is true
|
32
|
+
c.storage_account.minimum_tls_version = "TLS1_2"
|
32
33
|
|
33
34
|
# data protection management
|
34
35
|
c.storage_account.configure_data_protection_for_existing = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraspace_plugin_azurerm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: armrest
|
@@ -85,7 +85,7 @@ files:
|
|
85
85
|
- lib/templates/hcl/module/main.tf
|
86
86
|
- lib/templates/hcl/module/outputs.tf
|
87
87
|
- lib/templates/hcl/module/variables.tf
|
88
|
-
- lib/templates/hcl/project/config/terraform/backend.tf
|
88
|
+
- lib/templates/hcl/project/config/terraform/backend.tf.tt
|
89
89
|
- lib/templates/hcl/project/config/terraform/provider.tf
|
90
90
|
- lib/templates/hcl/stack/main.tf
|
91
91
|
- lib/templates/hcl/stack/outputs.tf
|
@@ -93,7 +93,7 @@ files:
|
|
93
93
|
- lib/templates/ruby/module/main.rb
|
94
94
|
- lib/templates/ruby/module/outputs.rb
|
95
95
|
- lib/templates/ruby/module/variables.rb
|
96
|
-
- lib/templates/ruby/project/config/terraform/backend.rb
|
96
|
+
- lib/templates/ruby/project/config/terraform/backend.rb.tt
|
97
97
|
- lib/templates/ruby/project/config/terraform/provider.rb
|
98
98
|
- lib/templates/ruby/stack/main.rb
|
99
99
|
- lib/templates/ruby/stack/outputs.rb
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
|
-
rubygems_version: 3.
|
152
|
+
rubygems_version: 3.4.19
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Terraspace Azurerm Cloud Plugin
|