AWS Marketplace requires installations to verify they are the owner of the AWS EC2 instance.

Therefore, we need a special build of aGov that includes this check. This can be done by using the AWS Validate module https://www.drupal.org/project/aws_validate but it also requires a custom task in the installer.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kim.pepper’s picture

Status: Active » Needs review
FileSize
1.4 KB

Here's the patch for that.

cafuego’s picture

Because the AMI is buuild via the tarball download, the patch needs to be against the packaged version of aGov (including version info). The attached patch provides that.

cafuego’s picture

Status: Needs review » Needs work
   'run' => $agov_example_content_batch ? INSTALL_TASK_RUN_IF_NOT_COMPLETED : INSTALL_TASK_SKIP,

Hm, the AWS validation doesn't happen if you don't choose to install the sample content?

cafuego’s picture

I wonder if instead of patching aGov, we could use https://api.drupal.org/api/drupal/modules%21system%21system.api.php/func... in the aws_validate module and inject the aws validate form BEFORE the site info form.

cafuego’s picture

Status: Needs work » Needs review
FileSize
1.88 KB
1.99 KB

Attached is an updated patch, which injects the AWS validation step *before* asking for the site configuration details.

cafuego’s picture

Issue summary: View changes
FileSize
101.28 KB

screenshot

Here we go. I cannot pass this screen without the correct instance id.

cafuego’s picture

Issue summary: View changes
cafuego’s picture

... and a new patch for aGov-7.x-2.0-beta4 from tarball.

cafuego’s picture

... and another one for the new release.

cafuego’s picture

cafuego’s picture

Version: 7.x-2.x-dev » 7.x-3.0
FileSize
2 KB

Patch for aGov 3.0.

cafuego’s picture

FileSize
1.96 KB

Fixup patch for 3.0.

pameeela’s picture

Status: Needs review » Closed (fixed)