terraspace_plugin_azurerm 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7da72538ffbee61c239cf97e32efb769f95372d3d27f080c57322581809129ae
4
- data.tar.gz: 2fa26926d7f09800251898bf37b7860239771c622b43a2ee2f370f993f20f2bf
3
+ metadata.gz: 4b8afe49e177139cfac89534a20a188a9aeab06860cf9168e807d992b8c16dd5
4
+ data.tar.gz: d8381f24bb4195d9e0757eb9785ccc45b0bb01926d02ae0b81429181d954ff49
5
5
  SHA512:
6
- metadata.gz: 96c0b8de52a7532a7410eab1ca4ede56c9dc87efe4dbbf8f29e2f77e545b1a39542e8e92d7b88504354fc2bde7dd60e04271f6fc87c8c152b6caa3bdda2bc169
7
- data.tar.gz: e1e533ac953828f31b399f0f56df35b34eb3678442a8ab76eac936c33137592805773e6d06b745d5e38da93c04e8348b7a48885bb2750e503c5e8cdad43b0579
6
+ metadata.gz: 3049881020016ad12a037ed6dbc8016ce886ed56b85b5cd95ee59445ec9f7c3ed5ccb03b1aa5c4754bf872ebd1138c5805119899dad5305e1fbcceee334b10d7
7
+ data.tar.gz: 83cea1898329f512a70b564bbf4c01917c538487288e93045e76a0835731f8db0afaa53b4ee290d9ab30c7d18b15b55248288fdccc777d201c3eb58e92f1f439
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
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.0] - 2022-07-20
7
+ - [#19](https://github.com/boltops-tools/terraspace_plugin_azurerm/pull/19) update backend key generated default
8
+
6
9
  ## [0.6.2] - 2022-07-13
7
10
  - [#18](https://github.com/boltops-tools/terraspace_plugin_azurerm/pull/18) add backend config variables docs comment
8
11
 
@@ -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 = "<%= expansion(':APP-:ENV-:LOCATION') %>"
10
- storage_account_name = "<%= expansion('ts:APP_HASH:SUBSCRIPTION_HASH:LOCATION_HASH:ENV') %>"
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 = "<%= expansion(':PROJECT/:TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:LOCATION/terraform.tfstate') %>"
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/:TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:LOCATION/terraform.tfstate",
12
+ key: ":PROJECT/:LOCATION/:APP/:ROLE/:ENV/:EXTRA/:BUILD_DIR/terraform.tfstate",
12
13
  )
@@ -1,3 +1,3 @@
1
1
  module TerraspacePluginAzurerm
2
- VERSION = "0.6.2"
2
+ VERSION = "0.7.0"
3
3
  end
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.6.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-13 00:00:00.000000000 Z
11
+ date: 2022-07-20 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