Skip to content

Commit 5cf7af4

Browse files
authored
allow all tags including aws ones to be in proxy (#1106)
* allow all tags including aws ones to be in proxy * release 4.0.9
1 parent 6446a84 commit 5cf7af4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cfn-templates/cid-cfn.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: '2010-09-09'
2-
Description: Deployment of Cloud Intelligence Dashboards v4.0.8
2+
Description: Deployment of Cloud Intelligence Dashboards v4.0.9
33
Metadata:
44
AWS::CloudFormation::Interface:
55
ParameterGroups:
@@ -1780,7 +1780,7 @@ Resources:
17801780
- LambdaLayerBucketPrefixIsManaged
17811781
- !FindInMap [RegionMap, !Ref 'AWS::Region', BucketName]
17821782
- !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}' # Region added for backward compatibility
1783-
S3Key: 'cid-resource-lambda-layer/cid-4.0.8.zip' #replace version here if needed
1783+
S3Key: 'cid-resource-lambda-layer/cid-4.0.9.zip' #replace version here if needed
17841784
CompatibleRuntimes:
17851785
- python3.10
17861786
- python3.11

cid/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = '4.0.8'
1+
__version__ = '4.0.9'
22

cid/helpers/cur.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def fields(self) -> list:
177177
def tag_and_cost_category_fields(self) -> list:
178178
""" Returns all tags and cost category fields. """
179179
if self.version == '1':
180-
return [field for field in self.fields if field.startswith('resource_tags_user_') or field.startswith('cost_category_')]
180+
return [field for field in self.fields if field.startswith('resource_tags_') or field.startswith('cost_category_')]
181181
elif self.version == '2':
182182
if self._tag_and_cost_category is not None: # the query can take few mins so we try to cache it
183183
logging.debug(f'Using cached tags.')

0 commit comments

Comments
 (0)