terraspace_plugin_aws 0.5.1 → 0.6.1

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: 3f9f9a3b88574c069c75430c030e97113cc42499a9045fed26b4e3e020114e33
4
- data.tar.gz: 1584ea8223228a13d33146a2cb714555a1ba7516d3aa1b7a755dba0452cda4bb
3
+ metadata.gz: be20ccc6e122517729602ea79f87cbeb40706e30ec7990bd55726f970a683017
4
+ data.tar.gz: bc6fc569258173639063117ee533b9631edb85c9d747765a8ae80f86d64713db
5
5
  SHA512:
6
- metadata.gz: 25c64453f2ace55010f4d3a4c53781f094424884c1861595bf8e55732e86087178ad7960839f2d01dd6b5efddbf0daf9b7ace8fc43cf37f7315faa443f1ca075
7
- data.tar.gz: f6eac03886c4481724391b2b2d1d879feddb9bc0e2d0c0b4fd7d4e7d464c9b21e4a1a6e5b6d614c692afb1f06e9e32b4f67518bf150b980bfe3a2280c8a902ca
6
+ metadata.gz: 9a20bc1f2a78c116e469db8c34f588d02a4fa019605dd6ed95e9daf10971ce94c310a5902b41854062fbcf13eee845b13f8ef6a0f6b4e09982863e5c8725f992
7
+ data.tar.gz: 114652dab41a24b24e7772d404f4091ed9c23721c2bd246a505fa0e286bbc0ef9f0b3f28da864df5be76d15278273e75d5d7b8990a097dc778426e58d4504cda
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.6.1] - 2023-07-13
7
+ - [#26](https://github.com/boltops-tools/terraspace_plugin_aws/pull/26) update and loosen s3-secure dependency
8
+
9
+ ## [0.6.0] - 2023-06-07
10
+ - [#25](https://github.com/boltops-tools/terraspace_plugin_aws/pull/25) fix starter example, use tags as example instead
11
+
6
12
  ## [0.5.1] - 2023-03-27
7
13
  - [#24](https://github.com/boltops-tools/terraspace_plugin_aws/pull/24) Remove redundant backend `encrypt` configuration
8
14
 
@@ -1,8 +1,4 @@
1
1
  resource "aws_s3_bucket" "this" {
2
2
  bucket = var.bucket # If omitted, Terraform will assign a random, unique name.
3
- }
4
-
5
- resource "aws_s3_bucket_acl" "this" {
6
- bucket = aws_s3_bucket.this.id
7
- acl = var.acl
3
+ tags = var.tags
8
4
  }
@@ -4,8 +4,8 @@ variable "bucket" {
4
4
  default = null
5
5
  }
6
6
 
7
- variable "acl" {
8
- description = "(Optional) The canned ACL to apply. Defaults to 'private'."
9
- type = string
10
- default = "private"
11
- }
7
+ variable "tags" {
8
+ description = "(Optional) A mapping of tags to assign to the bucket."
9
+ type = map(string)
10
+ default = {}
11
+ }
@@ -5,5 +5,5 @@ resource "random_pet" "this" {
5
5
  module "bucket" {
6
6
  source = "../../modules/example"
7
7
  bucket = "bucket-${random_pet.this.id}"
8
- acl = var.acl
8
+ tags = var.tags
9
9
  }
@@ -1,5 +1,5 @@
1
- variable "acl" {
2
- description = "The canned ACL to apply. Defaults to 'private'."
3
- type = string
4
- default = "private"
1
+ variable "tags" {
2
+ description = "(Optional) A mapping of tags to assign to the bucket."
3
+ type = map(string)
4
+ default = {}
5
5
  }
@@ -1,8 +1,4 @@
1
1
  resource("aws_s3_bucket", "this",
2
2
  bucket: var.bucket, # If omitted, Terraform will assign a random, unique name.
3
- )
4
-
5
- resource("aws_s3_bucket_acl", "this",
6
- bucket: "${aws_s3_bucket.this.id}",
7
- acl: var.acl,
3
+ tags: var.tags,
8
4
  )
@@ -3,7 +3,8 @@ variable("bucket",
3
3
  default: nil,
4
4
  )
5
5
 
6
- variable("acl",
7
- description: "(Optional) The canned ACL to apply. Defaults to 'private'.",
8
- default: "private",
6
+ variable("tags",
7
+ description: "(Optional) A mapping of tags to assign to the bucket.",
8
+ type: "map(string)",
9
+ default: {},
9
10
  )
@@ -5,5 +5,5 @@ resource("random_pet", "this",
5
5
  module!("bucket",
6
6
  source: "../../modules/example",
7
7
  bucket: "bucket-${random_pet.this.id}",
8
- acl: var.acl,
8
+ tags: var.tags,
9
9
  )
@@ -1,5 +1,5 @@
1
- variable("acl",
2
- description: "The canned ACL to apply. Defaults to 'private'.",
3
- type: "string",
4
- default: "private",
1
+ variable("tags",
2
+ description: "(Optional) A mapping of tags to assign to the bucket.",
3
+ type: "map(string)",
4
+ default: {},
5
5
  )
@@ -1,3 +1,3 @@
1
1
  module TerraspacePluginAws
2
- VERSION = "0.5.1"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "aws-sdk-ssm"
29
29
  spec.add_dependency "aws_data"
30
30
  spec.add_dependency "memoist"
31
- spec.add_dependency "s3-secure", "~> 0.6.1"
31
+ spec.add_dependency "s3-secure", ">= 0.7.0"
32
32
  spec.add_dependency "zeitwerk"
33
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace_plugin_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2023-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: s3-secure
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 0.6.1
103
+ version: 0.7.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 0.6.1
110
+ version: 0.7.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: zeitwerk
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description:
125
+ description:
126
126
  email:
127
127
  - tung@boltops.com
128
128
  executables: []
@@ -195,7 +195,7 @@ licenses:
195
195
  - Apache2.0
196
196
  metadata:
197
197
  homepage_uri: https://github.com/boltops-tools/terraspace_plugin_aws
198
- post_install_message:
198
+ post_install_message:
199
199
  rdoc_options: []
200
200
  require_paths:
201
201
  - lib
@@ -210,8 +210,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.3.26
214
- signing_key:
213
+ rubygems_version: 3.4.10
214
+ signing_key:
215
215
  specification_version: 4
216
216
  summary: Terraspace AWS Plugin
217
217
  test_files: []