Comments (5)
Hi @arun-tu, @ccortinhas-pmi and @soufi,
As far as I understood, vpc_routes are Computed, they cannot be changed: https://help.mulesoft.com/s/article/How-to-View-the-VPC-Route-Table-using-the-API.
About the Firewall rules issue, I've created a specific diff method. Changes in Firewall rules are now correctly detected.
Fixes will be available in the next release.
from terraform-provider-anypoint.
Hello @soufi
And are you able to create a VPC from start with the internet gateway VPC route already defined? We get a plugin crash each time.. And that is why we removed those fields since they are created in the background anyway.
I would love to run a few more examples on my side but sadly we reached the VPC limit in Anypoint, as soon as I manage to do it I'll provide more info about my setup, including terraform version, plugin version (should be the latest though) and a complete execution log.
from terraform-provider-anypoint.
Hi @soufi , As you already created VPC. You can try to do terraform plan second time, you will see few more changes though you never make any changes to vpc.tf. I even faced similar issue.
As a workaround, added below
lifecycle {
ignore_changes = all
}
from terraform-provider-anypoint.
@soufi as discussed
from terraform-provider-anypoint.
It's actually odd because I use vpc routes on my playground. Here's an example I've been running:
resource "anypoint_vpc" "avpc" {
org_id = anypoint_bg.bg.id
name = "myAwesomeVPC"
region = "us-east-2"
owner_id = anypoint_bg.bg.id
cidr_block = "192.168.0.0/24"
internal_dns_servers = []
internal_dns_special_domains = []
is_default = true
associated_environments = []
shared_with = []
firewall_rules {
cidr_block = "0.0.0.0/0"
from_port = 8081
protocol = "tcp"
to_port = 8082
}
firewall_rules {
cidr_block = "10.0.0.0/20"
from_port = 8091
protocol = "tcp"
to_port = 8092
}
vpc_routes {
cidr = "10.0.0.0/20"
next_hop = "Local"
}
vpc_routes{
cidr = "0.0.0.0/0"
next_hop = "Internet Gateway"
}
}
from terraform-provider-anypoint.
Related Issues (20)
- org entitlement diffing customization HOT 1
- customize diffing for optional attributes
- add new attributes to team
- Team additional attributes HOT 1
- can we create tag: latest instead of hardcoding version HOT 1
- [Feature Request] Runtime Manager Alerts? HOT 2
- VPN Resource HOT 1
- Bug 1.3 HOT 5
- Add Import Feature HOT 6
- Executing Apply with prod environments and roles HOT 3
- Group mappings getting replace on every plan/apply executing HOT 1
- create_suborgs not properly working HOT 1
- Error message when teams and teams roles csv files are empty HOT 1
- Multiple group mappings not sticking to single team HOT 1
- Team role error when no team specified HOT 1
- Provider crashes with latest changes HOT 6
- Environment resource attributes have incorrect behaviour HOT 1
- unable to retrieve roles with anypoint_roles data source HOT 3
- Changing Business Group Name - panic: interface conversion: interface {} is nil, not string HOT 3
- Unable to add client certificate to a Load Balancer HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-anypoint.