awspec 1.21.0 → 1.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/resource_types.md +4 -4
- data/lib/awspec/helper/finder/ecr.rb +4 -0
- data/lib/awspec/type/ecr_repository.rb +4 -0
- data/lib/awspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e80f68b8b745754eb273e3826b3c577fec784d55459f94bc169787768ab45a6a
|
|
4
|
+
data.tar.gz: 6fc0e5ee0ec92981dd60d8f1fc140e3354ca1b5e3f04b4367633369060509d96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ad3f68adf8e7bdc8664d45d9b63d7252cfcb5ac1dafb3d84acb70b537c79bec3fe86e510052890309509f06e1a5ea1dcc6d943f36f411a059785445126629eb
|
|
7
|
+
data.tar.gz: a27df4bf4b9e4dbf71377d4354e69d5be54831d18839fcbde1e7b77b78a69194eacf46fe886042e43948374b237a455578ca040a5543624d8612b6364e20d119
|
data/doc/resource_types.md
CHANGED
|
@@ -1303,7 +1303,7 @@ describe efs('my-efs') do
|
|
|
1303
1303
|
end
|
|
1304
1304
|
```
|
|
1305
1305
|
|
|
1306
|
-
### its(:owner_id), its(:creation_token), its(:file_system_id), its(:creation_time), its(:life_cycle_state), its(:name), its(:number_of_mount_targets), its(:performance_mode), its(:encrypted), its(:kms_key_id), its(:throughput_mode), its(:provisioned_throughput_in_mibps)
|
|
1306
|
+
### its(:owner_id), its(:creation_token), its(:file_system_id), its(:file_system_arn), its(:creation_time), its(:life_cycle_state), its(:name), its(:number_of_mount_targets), its(:performance_mode), its(:encrypted), its(:kms_key_id), its(:throughput_mode), its(:provisioned_throughput_in_mibps)
|
|
1307
1307
|
## <a name="elastic_ip">elastic_ip</a>
|
|
1308
1308
|
|
|
1309
1309
|
Elastic IP resource type.
|
|
@@ -2234,7 +2234,7 @@ describe launch_configuration('my-lc') do
|
|
|
2234
2234
|
end
|
|
2235
2235
|
```
|
|
2236
2236
|
|
|
2237
|
-
### its(:launch_configuration_name), its(:launch_configuration_arn), its(:image_id), its(:key_name), its(:security_groups), its(:classic_link_vpc_id), its(:classic_link_vpc_security_groups), its(:user_data), its(:instance_type), its(:kernel_id), its(:ramdisk_id), its(:spot_price), its(:iam_instance_profile), its(:created_time), its(:ebs_optimized), its(:associate_public_ip_address), its(:placement_tenancy)
|
|
2237
|
+
### its(:launch_configuration_name), its(:launch_configuration_arn), its(:image_id), its(:key_name), its(:security_groups), its(:classic_link_vpc_id), its(:classic_link_vpc_security_groups), its(:user_data), its(:instance_type), its(:kernel_id), its(:ramdisk_id), its(:spot_price), its(:iam_instance_profile), its(:created_time), its(:ebs_optimized), its(:associate_public_ip_address), its(:placement_tenancy), its(:metadata_options)
|
|
2238
2238
|
## <a name="launch_template">launch_template</a>
|
|
2239
2239
|
|
|
2240
2240
|
LaunchTemplate resource type.
|
|
@@ -2332,7 +2332,7 @@ describe mq('my-mq') do
|
|
|
2332
2332
|
end
|
|
2333
2333
|
```
|
|
2334
2334
|
|
|
2335
|
-
### its(:vpc_id), its(:auto_minor_version_upgrade), its(:broker_arn), its(:broker_id), its(:broker_name), its(:broker_state), its(:created), its(:deployment_mode), its(:encryption_options), its(:engine_type), its(:engine_version), its(:host_instance_type), its(:pending_engine_version), its(:pending_host_instance_type), its(:pending_security_groups), its(:publicly_accessible), its(:security_groups), its(:storage_type), its(:subnet_ids)
|
|
2335
|
+
### its(:vpc_id), its(:authentication_strategy), its(:auto_minor_version_upgrade), its(:broker_arn), its(:broker_id), its(:broker_name), its(:broker_state), its(:created), its(:deployment_mode), its(:encryption_options), its(:engine_type), its(:engine_version), its(:host_instance_type), its(:ldap_server_metadata), its(:pending_authentication_strategy), its(:pending_engine_version), its(:pending_host_instance_type), its(:pending_ldap_server_metadata), its(:pending_security_groups), its(:publicly_accessible), its(:security_groups), its(:storage_type), its(:subnet_ids)
|
|
2336
2336
|
## <a name="msk">msk</a>
|
|
2337
2337
|
|
|
2338
2338
|
Msk resource type.
|
|
@@ -3232,7 +3232,7 @@ describe secretsmanager('my-secret') do
|
|
|
3232
3232
|
end
|
|
3233
3233
|
```
|
|
3234
3234
|
|
|
3235
|
-
### its(:arn), its(:name), its(:description), its(:kms_key_id), its(:rotation_enabled), its(:rotation_lambda_arn), its(:last_rotated_date), its(:last_changed_date), its(:last_accessed_date), its(:deleted_date), its(:owning_service)
|
|
3235
|
+
### its(:arn), its(:name), its(:description), its(:kms_key_id), its(:rotation_enabled), its(:rotation_lambda_arn), its(:last_rotated_date), its(:last_changed_date), its(:last_accessed_date), its(:deleted_date), its(:owning_service), its(:created_date)
|
|
3236
3236
|
## <a name="security_group">security_group</a>
|
|
3237
3237
|
|
|
3238
3238
|
SecurityGroup resource type.
|
|
@@ -5,6 +5,10 @@ module Awspec::Helper
|
|
|
5
5
|
res = ecr_client.describe_repositories(repository_names: [repository_name])
|
|
6
6
|
res.repositories.first if res.repositories.count == 1
|
|
7
7
|
end
|
|
8
|
+
|
|
9
|
+
def get_policy_text(repository_name)
|
|
10
|
+
res = ecr_client.get_repository_policy(repository_name: repository_name)[:policy_text]
|
|
11
|
+
end
|
|
8
12
|
end
|
|
9
13
|
end
|
|
10
14
|
end
|
data/lib/awspec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: awspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.21.
|
|
4
|
+
version: 1.21.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- k1LoW
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|
|
@@ -753,7 +753,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
753
753
|
- !ruby/object:Gem::Version
|
|
754
754
|
version: '0'
|
|
755
755
|
requirements: []
|
|
756
|
-
rubygems_version: 3.0.
|
|
756
|
+
rubygems_version: 3.0.3
|
|
757
757
|
signing_key:
|
|
758
758
|
specification_version: 4
|
|
759
759
|
summary: RSpec tests for your AWS resources.
|