diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py
index 59336b1160..7e5893ee27 100644
--- a/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py
+++ b/lib/ansible/modules/extras/cloud/amazon/ec2_vpc_vgw.py
@@ -62,7 +62,9 @@ options:
         - dictionary of resource tags of the form: { tag1: value1, tag2: value2 }
     required: false
 author: Nick Aslanidis (@naslanidis)
-extends_documentation_fragment: aws
+extends_documentation_fragment:
+  - aws
+  - ec2
 '''
 
 EXAMPLES = '''
@@ -558,4 +560,5 @@ from ansible.module_utils.basic import *
 from ansible.module_utils.ec2 import *
 
 if __name__ == '__main__':
-    main()
\ No newline at end of file
+    main()
+