ecr: add s3 bucket and role policy for FVP job
for TFC-92. The summary of changes:
Create the S3 bucket for tuxtput
Create policy to access it, and attach it to existing ecr_push_pull role
make an instance profile that grants access to ecr_push_pull for instances it is attached to
Change-Id: Iba6520b9d533ff92255deb3b7bea9d2c708d082e
diff --git a/modules/resources/role_policy/vars.tf b/modules/resources/role_policy/vars.tf
new file mode 100644
index 0000000..a296803
--- /dev/null
+++ b/modules/resources/role_policy/vars.tf
@@ -0,0 +1,25 @@
+variable "role_id" {
+ default = ""
+}
+
+variable "name" {
+ default = ""
+}
+
+variable "policy_file" {
+ default = ""
+}
+
+variable "resources" {
+ type = list
+ default = []
+}
+
+variable "actions" {
+ type = list
+ default = []
+}
+
+variable "effect" {
+ default = "Allow"
+}