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

Add sample module for Apigee Provisioning without VPC Peering #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

baskaran-md
Copy link

Apigee announced the GA launch of its non-VPC provisioning option

  • Add sample modules for provisioning Apigee without VPC Peering.

    • Made network & ip_ranges as optional variables in apigee-x-core module.
  • I tested the provisioning locally and is successful.

  • I have followed the relevant style guide for my changes.

@g-greatdevaks
Copy link
Collaborator

Thanks for the PR, Baskaran.
Let me review and merge this.

Copy link
Collaborator

@danistrebel danistrebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Definitely good to add the options to the core module. For the sample I would suggest maybe adding PSC + ILB setup or at least mentioning it in the README

The following would be needed in addition to the comments:

@@ -36,9 +36,16 @@ variable "ax_region" {
type = string
}

variable "disable_vpc_peering" {
description = "Flag that specifies whether the VPC Peering through Private Google Access should be disabled between the consumer network and Apigee."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this say through "Service Networking"? PGA is something different.

type = bool
default = false
}

variable "network" {
description = "Network (self-link) to peer with the Apigee tennant project."
Copy link
Collaborator

@danistrebel danistrebel Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also mention in the description that his isn't needed for the non-peering mode

@@ -0,0 +1,80 @@
# Basic Apigee X Setup without VPC Peering

A minimal Apigee X setup without using VPC Peering.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe worth adding a link to the docs or at least the release notes that explain this.

@@ -0,0 +1,80 @@
# Basic Apigee X Setup without VPC Peering
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the samples are meant to be somewhat self sufficient shouldn't this module also contain a northbound PSC component? Otherwise it could also just be a doc of setting networking to false in the x-core module.

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.

3 participants