Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect HTML for VPC Network ACLs #95

Merged
merged 5 commits into from Jan 15, 2019

Conversation

Aboisier
Copy link
Contributor

@Aboisier Aboisier commented Jan 14, 2019

This PR is a temporary fix for the missing instances under network>network acls>subnet and incidentally fixes a bunch of broken links and missing info in modals in general (#6 ).

What the fix does is it adds the ids inferred from the resource path to the partial template's context. For example, the path services.vpc.vpcs.vpc-id.regions.region-id.subnets.subnet-id adds the following attributes to the context:

service: vpc
vpc: vpc-id
regions: region-id
subnet: subnet-id

This way, the partial template can access info relative to its instance.

I acknowledge this fix is not ideal, but it seems like a legit fix would require refactoring the whole modal system, or the resource management system.

image

@Aboisier Aboisier changed the base branch from master to develop January 14, 2019 22:19
@Aboisier Aboisier added this to To do in Scout Suite Jan 15, 2019
@Aboisier Aboisier removed this from To do in Scout Suite Jan 15, 2019
@Aboisier Aboisier merged commit 01293b0 into develop Jan 15, 2019
@Aboisier Aboisier deleted the bugfix/6-vpc-network-acls-incorrect-html branch January 15, 2019 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants