Skip to content

Commit

Permalink
Merge pull request #263 from awslabs/master
Browse files Browse the repository at this point in the history
RELEASE 0.7.9
  • Loading branch information
batchus authored Jun 16, 2020
2 parents 0d3343a + 45882f8 commit b400209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
#
# or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

MY_VERSION = "0.7.8"
MY_VERSION = "0.7.9"

10 changes: 3 additions & 7 deletions rdk/rdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1866,13 +1866,9 @@ def create_rule_template(self):
resources[self.__get_alphanumeric_rule_name(rule_name+'Policy')] = ssm_iam_policy
remediation['Properties']['Parameters']['AutomationAssumeRole']['StaticValue']['Values'] = [{"Fn::GetAtt":[self.__get_alphanumeric_rule_name(rule_name+"Role"), "Arn"]}]
#Override the placeholder to associate the SSM Document Role with newly crafted role



resources[self.__get_alphanumeric_rule_name(rule_name+"RemediationAction")] = ssm_automation
resources[self.__get_alphanumeric_rule_name(rule_name)+"Remediation"] = remediation
resources[self.__get_alphanumeric_rule_name(rule_name+"RemediationAction")] = ssm_automation



if tags:
tags_str=""
for tag in tags:
Expand Down Expand Up @@ -2941,4 +2937,4 @@ def __init__(self, ci_type):
exit(1)

def get_json(self):
return self.ci_json
return self.ci_json

0 comments on commit b400209

Please sign in to comment.